You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing a value to the href property of the DropdownItem component in NextUI, the component correctly transforms into an <a> tag. However, this change results in the absence of the <li> element within the <ul>. The expected structure should wrap the <a> tag in an <li> for proper semantic HTML.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Use the DropdownItem component with the href property set to any valid URL.
Inspect the rendered DOM structure.
The <li> element is missing.
The DropdownItem directly renders an <a> tag inside the <ul>.
Expected behavior
The DropdownItem should render an <li> element that wraps the<a> tag, maintaining semantic HTML.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered:
NextUI Version
2.4.8
Describe the bug
When passing a value to the href property of the DropdownItem component in NextUI, the component correctly transforms into an
<a>
tag. However, this change results in the absence of the<li>
element within the<ul>
. The expected structure should wrap the<a>
tag in an<li>
for proper semantic HTML.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
<li>
element is missing.<a>
tag inside the<ul>
.Expected behavior
The DropdownItem should render an
<li>
element that wraps the<a>
tag, maintaining semantic HTML.Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: