Adaverse commented on PR #30950:
URL: https://github.com/apache/airflow/pull/30950#issuecomment-1553315956

   Hi @bbovenzi ,
   
   - Fixed the accordion toggle logic making it generic
   - Using the local storage key "isInputInFocus" to discard the events that 
would get fired when the user is typing. Tried methods like 
`e.stopPropagation()`, `e.native.stopImmediatePropagation()`. Also tried this 
patch from react - 
https://legacy.reactjs.org/blog/2020/08/10/react-v17-rc.html#changes-to-event-delegation
 but still no luck. Finally used the above-mentioned tactical solution when on 
focus, setting it to true, and on blur setting it to false. 
   
   Do let me know if I missed anything.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to