Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28251

Spark Accordion: timing of valueCommit and change event on Accordion and AccordionContent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Next
    • None
    • Spark: Accordion
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      As per current implementation of Spark Accordion 'valueCommit' and 'change' events gets triggered before animation of AccordionContent opening starts.

      DateSpinner and SpinnerList trigger these events after animation is complete.

      There are some key differences between these components like:

      • In case of Accordion an AccordionContent gets selected as soon as it's header is clicked.
      • In case of DateSpinner and SpinnerList an item gets selected at the end of animation based on it's location.

      Based on above consideration it seemed logical to keep these events the way it is, but there was some concern about need to understand the use cases of these events on Accordion from a developer point of view and making sure we cater to their needs.

      Another question was when is an AccordionContent considered Selected and how that related to 'valueCommit' and 'change' events on AccordionContent?

      • Is it at the time when user clicks on it's header? OR
      • Is it when the AccordionContent is completely open?

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: