ModusModal closes after dragging mouse from ModusTextInput #3104
Labels
bug
Something is wrong and needs to be addressed
external-request
Bugs and features reported by individuals from other teams in Trimble
Prerequisites
Describe the issue
We are using ModusModal component and inside it we have few ModusTextInput components.
When selecting the text in the first input by pressing left mouse button and dragging the cursor to the left further over the modal borders, the modal gets closed.
However this doesn't happen when doing the same action for the rest of the inputs. It only happens for the first input.
When disabling closing by making
backdrop="static"
, this doesn't happen anymore. So somehow in the first case, pressing and dragging makes focus outside the modal.Modal.closes.after.dragging.mp4
Reduced test cases
No response
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
No response
Priority
Medium
What product/project are you using Modus Components for ?
Tekla Launcher
What is your team/division name ?
Structures DOBE team
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response
The text was updated successfully, but these errors were encountered: