Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Try: Remove hover styles #18862
As part of ongoing efforts to improve block selection navigation mode has recieved some visual enhancements and ability to "drill down" through nested blocks (#17088). In addition to this, a breadcrumb bar has been added (#17089), which provides a permanently visible visual indicator of which block you're editing, and a quick tool to let you pick the parent.
In light of that, there is less reason to have a hover style for blocks at all. So this PR removes it, and with it, the block breadrumb.
There are a number of reasons for considering this.
3. Perhaps most importantly, it helps suggest the best interface for selecting parent blocks.
In comlex nesting situations, the hover style would "flicker on" when tiny hit areas were hovered. But this is not the best way to select the parent block, as it requires extremely fine motor skills. The presence of the hover effect seemed to suggest that this is the primary interface for selecting parent blocks, when in fact the breadcrumb bar, or the selection tool are far better equipped methods to do so.
Would love your thoughts, thank you!
I like this change. It removes the distraction of the hover title popping up as you move your mouse around. Several months ago, I wouldn't have been in favor of this change, but I've found that the only time when I use the hover title is when trying to select parent blocks. But now that we have the block navigation menu, breadcrumb bar, and select tool, the hover title is no longer needed.
One aspect of removing the hover effect is that it is intrinsically a desktop affordance, and one that is very much biased towards sighted users. Removing it might help us rely on other affordances that are more cross-platform and potentially, accessible.