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

Rotate3D can cause elements to not be clickable when they have a non-zero z value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK Previous
    • None
    • Spark: Effects
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run:

      <s:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:local="*">

      <fx:Declarations>
      <fx:Component className="CustomComponent">
      <s:Group>
      <s:states>
      <s:State name="state1"/>
      <s:State name="state2"/>
      </s:states>

      <s:VGroup x="100">
      <s:Button label="1. Toggle state" id="toggleStateButton" rotationY.state2="180" click="currentState=currentState=='state1'?'state2':'state1';" />
      <s:Button label="2. Try clicking me" click="trace('clicked')" />
      </s:VGroup>

      <s:transitions>
      <s:Transition fromState="state1" toState="state2">
      <s:Parallel>
      <s:Parallel target="

      {toggleStateButton}

      ">
      <!-- Remove this Rotate3D and things will work fine -->
      <s:Rotate3D />
      </s:Parallel>
      </s:Parallel>
      </s:Transition>
      </s:transitions>
      </s:Group>
      </fx:Component>
      </fx:Declarations>

      <s:states>
      <s:State name="state1"/>
      <s:State name="state2"/>
      </s:states>

      <s:HGroup>
      <local:CustomComponent z="9" id="Fail" />
      <local:CustomComponent z="0" id="Pass" />
      </s:HGroup>

      </s:Application>

      2. In the left Group click on the first button then try to click on the second button
      3.

      Actual Results:

      Both buttons are no longer clickable

      Expected Results:

      Should work the same as the Group on the right where z=0

      Workaround (if any):

      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: