You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2014/05/29 12:10:01 UTC

[jira] [Created] (FLEX-34340) NumericStepper still responds to mouse wheel after being removed from stage

Mihai Chira created FLEX-34340:
----------------------------------

             Summary: NumericStepper still responds to mouse wheel after being removed from stage
                 Key: FLEX-34340
                 URL: https://issues.apache.org/jira/browse/FLEX-34340
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: NumericStepper
    Affects Versions: Apache Flex 4.12.0
            Reporter: Mihai Chira


*Steps to reproduce*:
0. Import and run the attached project.
1. Click on the numeric stepper.
2. Roll the mouse wheel. Notice label changing as expected.
3. Shift+Click on the numeric stepper and wait for it to be removed from stage.
4. Roll the mouse wheel. Notice label changing, although the component is not on stage anymore.
5. Wait 2 seconds for stepper to be 'dismantled'.
6. Roll the mouse wheel

*Actual behaviour*: at step 4 the NumericStepper still reacts to mouse wheel events. Also, at step 6, the RTE below is thrown.
*Desired behaviour*: at step 4 the NumericStepper does not react to the mouse wheel anymore, and at step 6 no error is thrown.

*NOTE*: After step 4, rolling the mouse wheel after clicking anywhere on stage works as expected.


*RTE at step 6*:
Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or method of a null object reference.)	
	spark.components::NumericStepper/applyDisplayFormatFunction	
	spark.components::NumericStepper/setValue	
	spark.components::Spinner/system_mouseWheelHandler	
	_NumericStepper/system_mouseWheelHandler	
	flash.events::EventDispatcher/dispatchEventFunction [no source]	
	flash.events::EventDispatcher/dispatchEvent [no source]	
	mx.core::UIComponent/dispatchEvent	
	mx.managers::SystemManager/mouseEventHandler	




--
This message was sent by Atlassian JIRA
(v6.2#6252)