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
This is workaround: wrapper.find(".input-field").element.dispatchEvent(new Event("focus")).
But I guess .trigger("focus") is also expected to work for contenteditable
The text was updated successfully, but these errors were encountered:
Subject of the issue
.trigger("focus")
doesn't work anymore forcontenteditable
elements.It works only on
input
elements.It is working on 1.1.3. I think PR1777 introduced this regression
Steps to reproduce
Test:
Component:
Expected behaviour
Event should be triggered
Actual behaviour
Event is not triggered
Possible Solution
This is workaround:
wrapper.find(".input-field").element.dispatchEvent(new Event("focus"))
.But I guess
.trigger("focus")
is also expected to work forcontenteditable
The text was updated successfully, but these errors were encountered: