-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Link] Incorrect underline animation in RTL #7284
Comments
cc @ashetland @SkyeSeitz WDYT/ any thoughts on changes to the |
I could definitely see a few options where the animation is removed. I think I lean towards just an instant color change from 40% opacity to 100%, as seen in the prototype below. Screen.Recording.2023-08-07.at.11.53.34.AM.mov |
I like that instant change. Mocked up a bump from 1px to 2px for the indicator @macandcheese mentioned just for comparison. I think I go for the simple version or just instant timing. |
Clarifying question for @macandcheese 😅 - Additional px to the underline or the height of the link? Prototype below to demonstrate: Screen.Recording.2023-08-07.at.12.14.12.PM.mov |
@macandcheese Could you help clarify the comment above? |
Sorry, which comment 😅 I think the immediate issue can be fixed with no design change, and then we can separately discuss an update there cc @SkyeSeitz @ashetland (I wouldn't think that a border change bumps the height up like in that example) |
@macandcheese I was referring to #7284 (comment), apologies for not specifying earlier. One more question, are we keeping the animation as is, but inverting it or are we also simplifying it to just color change? |
The scope of the issue initially was intended to just fix the RTL implementation by inverting it. It works fine in LTR. I think this other discussion is good and we should update the visual, but can be moved to a separate design issue? |
Agree, we can move that to a separate design issue. Is the animation working correctly in LTR? I'm not seeing it here https://developers.arcgis.com/calcite-design-system/components/link/ |
Looks like the animation has been broken since v2.7.0 (possibly by #8797). |
Heh - well in this case it's a "fix" as it behaves the same in both. I don't think the animation really adds anything. Maybe we can remove the code that isn't working and use another issue to track improvements. I'd think anything that lets us get rid of the "transparent underline" css, etc. could be nice. |
Agreed |
Installed and assigned for verification. |
Verified locally on Fixed animations: Screen.Recording.2024-11-22.at.11.26.44.AM.mov |
Check existing issues
Actual Behavior
The underline animation does not correctly animate in the expected direction when in RTL.
Expected Behavior
I'd expect the animation to correctly display as it does in LTR, but flipped.
cc @SkyeSeitz @ashetland - I know we've talked about changing this animation altogether and favoring something less... busy - maybe an additional px height on hover, just color change, etc., so could be a good opportunity to look at that.
Related: #6569
Reproduction Sample
https://codepen.io/mac_and_cheese/pen/qBQXYKB?editors=1000
Reproduction Steps
Reproduction Version
Latest
Relevant Info
No response
Regression?
No response
Priority impact
p2 - want for current milestone
Impact
No response
Calcite package
Esri team
ArcGIS Map Viewer
The text was updated successfully, but these errors were encountered: