You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These warnings were generated, when using latest Firefox and ace-builds 1.15.0.
Element.setCapture() is deprecated. Use Element.setPointerCapture() instead.
For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture (ace.js:2647:37)
Element.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead.
For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture (ace.js:2711:54)
On line 2647, we have this, and was indeed using the deprecated API.
if (editor.renderer.scroller.setCapture) {
editor.renderer.scroller.setCapture();
}
Expected Behavior
No warnings should be shown.
Current Behavior
Two warnings were generated.
Reproduction Steps
Use node ace-build based web page on Firefox, and click into the editor.
Possible Solution
Turn to use newer ways, e.g. Element.setPointerCapture().
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
ace-builds 1.15.0, Firefox 109 on macOS 13
The text was updated successfully, but these errors were encountered:
Describe the bug
These warnings were generated, when using latest Firefox and ace-builds
1.15.0
.On line 2647, we have this, and was indeed using the deprecated API.
Expected Behavior
No warnings should be shown.
Current Behavior
Two warnings were generated.
Reproduction Steps
Use node ace-build based web page on Firefox, and click into the editor.
Possible Solution
Turn to use newer ways, e.g.
Element.setPointerCapture()
.Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
ace-builds 1.15.0, Firefox 109 on macOS 13
The text was updated successfully, but these errors were encountered: