For some reasons, dropdowns don’t work on webkit-based browsers such as Safari or Surf. I suspect it is due to the :focus-within pseudo-class being badly handled by the engine. A fix for this could be to use a .hidden class in the elements that are to be hidden. This class could be removed on a list click, and added back when another click is detected on the document. The element could stay shown with the :focus pseudo-class on the drop-down.
For some reasons, dropdowns don’t work on webkit-based browsers such as Safari or Surf. I suspect it is due to the `:focus-within` pseudo-class being badly handled by the engine. A fix for this could be to use a `.hidden` class in the elements that are to be hidden. This class could be removed on a list click, and added back when another click is detected on the document. The element could stay shown with the `:focus` pseudo-class on the drop-down.
phundrak
added the bug label 2020-05-22 20:39:37 +02:00
After much research, sweat, tears, and blood, I finally came across this blog post which finally gave me the key for fixing this god awful implementation of :focus-within that plagues WebKit. A commit should be pushed in the next few minutes to fix this awful bug.
After much research, sweat, tears, and blood, I finally came across [this blog post](https://www.kizu.ru/keyboard-only-focus/) which finally gave me the key for fixing this god awful implementation of `:focus-within` that plagues WebKit. A commit should be pushed in the next few minutes to fix this awful bug.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
For some reasons, dropdowns don’t work on webkit-based browsers such as Safari or Surf. I suspect it is due to the
:focus-withinpseudo-class being badly handled by the engine. A fix for this could be to use a.hiddenclass in the elements that are to be hidden. This class could be removed on a list click, and added back when another click is detected on the document. The element could stay shown with the:focuspseudo-class on the drop-down.After much research, sweat, tears, and blood, I finally came across this blog post which finally gave me the key for fixing this god awful implementation of
:focus-withinthat plagues WebKit. A commit should be pushed in the next few minutes to fix this awful bug.Fixed in commit
272bd93ed8. Closing.