Confusing OnyxNavButton
API
#2112
SergeiZheleznov
started this conversation in
General
Replies: 1 comment
-
Hi @SergeiZheleznov, thanks a lot for the feedback! You are absolutely right, anchor/hyperlink a default use-case for the navbar. We have it in our backlog to support I understand, that we should prioritize this topic higher. Also, we are planning to re-work parts of the navbar to make the usage more straight forward. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OnyxNavButton has a property
href
, which is used only for emittingnavigate
event onParentClick
if button has no children.Usual expectation from
href
attribute is also hyperlink behavior. At least it shoulda
tagrel
andtarget
attributes.href
in the browser status bar if element is hoveredHaving
a
tags in NavBar is common use case. Is there any plans to change this in the future or what was the idea behind this implementation?Beta Was this translation helpful? Give feedback.
All reactions