Commit graph

6 commits

Author SHA1 Message Date
ThibG
9c7220aa3a Fix TL sometimes jumping when closing modals ()
Fixes 
2020-06-10 13:57:13 +02:00
ThibG
6041cfb13d Fix lost focus when modals open/close ()
* Fix lost focus after modal closes

Regression caused by the use of the wicg-inert polyfill

* Fix regression introduced by wicg-inert

* Catch errors to please CodeClimate
2019-11-30 18:19:47 +01:00
Gabriel Rubens
84e3b5a358 Use inert polyfill ()
* Inserting wicg-inert in project

* Import wicg-inert in moda_root component

* Update yarn.lock

* Solving code style problems

* Removing package-lock
2019-11-04 13:03:44 +01:00
ThibG
0da8fdc438 Trap tab in modals () 2019-08-06 11:59:28 +02:00
ThibG
39e4cbe2dc Fix composer not getting focus after reply confirmation dialog ()
The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
2018-12-21 18:52:41 +01:00
Akihiko Odaki
47d2277ef1 Show media modal on public pages () 2018-03-24 12:52:26 +01:00