Closed (fixed)
Project:
Navigation
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2024 at 10:49 UTC
Updated:
17 Apr 2024 at 20:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ckrinaI forgot to postpone it.
Comment #3
ckrinaComment #4
ckrinaUn-postponing since #3427659: Implement drawer functionality has been merged in.
Comment #5
ckrinaComment #6
kostyashupenkoI think better wait for https://www.drupal.org/project/navigation/issues/3427657
Comment #9
bronzehedwickhttps://www.drupal.org/project/navigation/issues/3427657 is fixed :)
Pushed an MR to fix popovers in RTL languages.
Comment #10
bronzehedwickComment #12
ckrinaThe collapse animation is missing ;)
Comment #13
m4oliveiTo test this, I've been:
html[dir]attribute to setrtlas the value.Let me know if there is a better way to test, and maybe lets put it into the issue description.
A few issues that I can see:
Subtle gradient sweep (animation slowed to 10%):
Comment #14
bronzehedwickThanks for the feedback all, taking a look.
Comment #15
bronzehedwickHi all, I pushed fixes for the issues raised. However, note that a real RTL language, like Arabic, must be installed and selected for a proper test. Switching the
dirproperty via browser dev tools will result in incorrect behavior, as Drupal isn't aware of this, and will incorrectly set an offset variable the navigation relies on to display properly.Issues fixed
Comment #16
bronzehedwickComment #17
rkollerI've tested the issue with Hebrew. One detail i've noticed is that the font weight of the top level menu items is too small compared to for example english
similar for the drawer:
it also illustrates the detail that the design breaks in case strings are not translated yet.
Comment #18
ckrinaI'm afraid this is something we can't solve? I's guess this is a font problem.
@bronzehedwick I found another small thing: the submenus have the wrong direction when the arrow is closed. It should be pointing down.
Comment #19
rkollerbut if you take a look into the main content area in https://www.drupal.org/files/issues/2024-04-03/hebrew.jpg you have actual bold typography as well, so it isn't the case that heavier weight isn't available for the font used?
Comment #20
ckrina@rkoller It's a different font: we're using Inter for the Navigation, ans I'm not sure we've added the package for Hebrew of if there is one. Claro uses the system font. Either way, this discussion is worth its own ticket because goes beyond the "direction" of the page and lands in the typeface world :)
Comment #21
rkollerohhhh thanks for clarification, completely forgot that the navigation might use a different font than the main content area!
Comment #22
bronzehedwick@ckrina I fixed the incorrect chevron direction for RTL, as well as rebasing on top of
1.xand resolving the conflicts.Comment #23
bronzehedwickComment #24
ckrinaMerged, thanks!