-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug #155523 input fields will can't trigger draggable in popups by de… #154
bug #155523 input fields will can't trigger draggable in popups by de… #154
Conversation
Pull Request Test Coverage Report for Build 980
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix it in Elements and close this PR.
9a74897
to
2a69aad
Compare
@Kashilas @Cmoen11 @Kashkovsky The problem here is that 'cancel' prop accepts only single selector. So you will still be able to drag by <textarea />, <select_ /> etc. with such setup. Instead I suggest mirroring 'cancel' prop to our Popup component and default it to some service css class value like 'no-drag'. You will have to mark some top-level html element in your popup container element with this class so that any inner inputs of any kind don't trigger dragging. |
To be clear. Changes suggested don't fix the bug. You have to fix it in the app using it (Elements). Since it is urgent I recommend fixing it by actually specifiyng the proper 'handle' selector in code using it. You will lose possibility to drag by any part of popup but it's quick and easy. But solution suggested here should be considered in future use. |
Yep. Already present in PR for Elements :) |
…fault