Tested on your demo with FF and Chrome - after opening the navbar, items were not trapped.
I remember trap focus was working in the past (I don't remember the version). With the latest 6.0.2 I'm free to jump between elements through the whole page. That should be limited only for the active level.
For now I am using open and open.level events for custom tab-trap.
And also closing the navbar with Esc key causes error in the console
Uncaught TypeError: Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 1 present.
Tested on your demo with FF and Chrome - after opening the navbar, items were not trapped. I remember trap focus was working in the past (I don't remember the version). With the latest 6.0.2 I'm free to jump between elements through the whole page. That should be limited only for the active level. For now I am using
open
andopen.level
events for custom tab-trap.And also closing the navbar with
Esc
key causes error in the consoleUncaught TypeError: Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 1 present.