-
-
Notifications
You must be signed in to change notification settings - Fork 597
[6.x] Improve replicator click areas #13173
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
base: master
Are you sure you want to change the base?
Conversation
… you have a dropdown very close to a long horizontal replicator "plus" button, the dropdown should take precedence.
jasonvarga
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The replicator bar is the awkward thing here. I think that should figure its own problem out.
The same problem happens for example if you have a link in the replicator instructions. Part of the link if unclickable because of the replicator bar.
If we end up adding more stuff above the field (which could happen in #13157 (comment), for example) we'd just have more of the same problem.
…top one being shorter… so it doesn't look so weird
|
I think you're right there. I've pushed some updates to try and improve the replicator button areas instead… The top replicator "add button" now has a smaller UI, but the same underlying hover target area. As a consequence of this, I've updated the replicator "add set" bar to use a subtle gradient, which I think is kinda nice. Finally I fixed another thing that was bothering me. Previously if you clicked anywhere within the horizontal space of "Add block" you would get a new block. While this seemed cool to me at first, I've accidentally triggered this numerous times and it became annoying. I've fixed this, so you now have to click the "Add Block" button, rather than any dead space around it. |
|
Gotta dash for this eve but I have a solution for the replicator description thing too so I've converted this to a draft. I'll push that up tomorrow. |
|
OK, I think I've got a good draft now, pending your feedback :) Hover state when instructions are either empty or belowI've made the interface shorter than previously, in case the field title is long When instructions are above (not hovered)When instructions are above (hovered)When a link in the instructions is hoveredHere I've put it in the most awkward position possible—right above the "plus" replicator button Small viewport |
…he "more actions" dots
…top to allow for the "more actions" dots
|
Sorry about the massive detour here. I ended up reverting a lot of this because of side effects with hover states on the "more" dots, and it was getting far too complicated. Anyway, so now the changes vs master is:
To fix this I've actually simple increased the gap, similar to how v5 handled this—although the gap is not as large, and I've increased the starting connector height to compensate this.
|
|
I've looked at the PR but still has the old Quick Actions menu. With the new Quick Actions, the "add set" display sits above the Quick Actions, meaning I can have my cursor over a button, but the "add set" is what has focus. Untitled.mov |









Occasionally, buttons are close together—and in this case, I think it's sensible to pull dropdown triggers a z-index above by default.
For example, when you have a dropdown very close to a long horizontal replicator "plus" button, the dropdown should take precedence.