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
All right, using data attribue or via js, it works, which is prevent keyboard leftarrow-prev/right-arrow-next , but there is an strange issue in my case.
I have disabled the key reaction in carousel which is working fine, but i have a popup in the lets's say 5th slide, and used the bootstrap modal for popup. Now the problem is when bootstrap modal is showing, the keyboard false does not prevent the carousel from sliding? Any help is appreciated. Also tried the solutions to prevent action using event listener and others as below.
window.addEventListener("keydown", function(e) { // space and arrow keys if([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) { e.preventDefault(); } }, false);
By the way my pop modal is outside of the the carousel. It is just triggered from one of the carousel slide.
The text was updated successfully, but these errors were encountered:
All right, using data attribue or via js, it works, which is prevent keyboard leftarrow-prev/right-arrow-next , but there is an strange issue in my case.
I have disabled the key reaction in carousel which is working fine, but i have a popup in the lets's say 5th slide, and used the bootstrap modal for popup. Now the problem is when bootstrap modal is showing, the keyboard false does not prevent the carousel from sliding? Any help is appreciated. Also tried the solutions to prevent action using event listener and others as below.
window.addEventListener("keydown", function(e) { // space and arrow keys if([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) { e.preventDefault(); } }, false);
By the way my pop modal is outside of the the carousel. It is just triggered from one of the carousel slide.
The text was updated successfully, but these errors were encountered: