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
The introduction of the "noRefocus" setting on the Modal component broke our UI. Upon return from display of message dialog, we no longer have control of where the focus is placed.
The noRefocus setting should be added to the Message component also and passed on to the Modal component.
i.e.
noRefocus: false,
added to MESSAGE_DEFAULTS
and
noRefocus: this.settings.noRefocus,
added to
this.message.modal({
The text was updated successfully, but these errors were encountered:
tmcconechy
changed the title
No control of Focus on return from MessageDialog
Modal/Message: No control of Focus on return from MessageDialog
Oct 19, 2020
Whil efixing this i found a not worthy thing. There is actually two settings returnFocus ad noRefocus. `returnFocus did work so if you want to focus something specific and dont want to upgrade you can put that in your app.
These are bit redundant but i wont break the API right now. And note that if you provide returnFocus it will use that and ignore noRefocus even after this fix. So its sort of use one or the other and the returnFocus could work as a workaround.
The introduction of the "noRefocus" setting on the Modal component broke our UI. Upon return from display of message dialog, we no longer have control of where the focus is placed.
The noRefocus setting should be added to the Message component also and passed on to the Modal component.
i.e.
noRefocus: false,
added to MESSAGE_DEFAULTS
and
noRefocus: this.settings.noRefocus,
added to
this.message.modal({
The text was updated successfully, but these errors were encountered: