-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overlay does not work as expected #17
Comments
Hi @nalexiou thanks for your time, the thing is that when Focusable it's enabled, we make the The columns grows vertically and their height it's equal to the window height. So if you can perform a scroll in your site, probably was a bug of the lib. Can you please put here the steps to reproduce the bug? show me what element are you trying to set focus here http://www.coupons.com and I'll try to reproduce and fixe it. Thanks! |
Hi Hector, Thank you for looking at this issue so quickly. So, this is what I do to get the get to the issue:
As you can see from the screenshot, the overlay does not extend all the way do - it gets cut off. I have no issue the overflow:hidden part, that is, I do not need the page to be scrollable while the item is focused. Here is also a snapshot of html code for the overlay while focusing on the item: Does this help? Thank you. |
Ey man thanks you so much for the detailed issue and images, I'll work to fix it as soon as posible. I'll ping you with the fix! Thanks |
I just tested a bit the issue in your page and noticed that is related with the |
You're welcome Hector. Glad to know this helped. Looking forward to the fix. Nick
|
Hi all, I had the same issue. I created a solution, testing it at the moment. Check this commit jejung@f9bfba0. Untill now it's required to wait the scroll animation ends and then focus the element. |
Added pull request #25 |
Hi Hector,
I attempted to use Focusable on http://www.coupons.com. When I focus on an element while at the top of the page, focusable works fine. However, if I scroll down and then attempt to focus on an element on that section of the page, the overlay does not cover that part of page. I am suspecting it has something to do with the heights of of the columns? If you can take a look, that would be great!
Thank you.
Nick
The text was updated successfully, but these errors were encountered: