馃悶 Describe the Bug
Dragging text instead of an HTML element leads to an assertion error. See below in the reproduction.
馃敩 Minimal Reproduction
Having this HTML:
Some Text <a href="#">Some Link</a>
Select everything, hover the text and try dragging it. There will be an assertion failure.
The problem is here. Perhaps the check target instanceof Element is overly restrictive.
馃槙 Actual Behavior
An assertion which is wrong.
馃 Expected Behavior
No assertion.
馃實 Environment
- Ember: 5.5.0
- Node.js/npm: v21.4.0
- OS: Linux
- Browser: Chromium
馃悶 Describe the Bug
Dragging text instead of an HTML element leads to an assertion error. See below in the reproduction.
馃敩 Minimal Reproduction
Having this HTML:
Select everything, hover the text and try dragging it. There will be an assertion failure.
The problem is here. Perhaps the check
target instanceof Elementis overly restrictive.馃槙 Actual Behavior
An assertion which is wrong.
馃 Expected Behavior
No assertion.
馃實 Environment