Esri/calcite-design-system

Internal element in link is getting attribute values set to "false"

Aperta

#12.208 aperta il 22 mag 2025

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (88 fork)auto 404
bugestimate - 2good first issueimpact - p2 - want for an upcoming milestonep - low

Metriche repository

Star
 (367 stelle)
Metriche merge PR
 (Merge medio 22g 2h) (74 PR mergiate in 30 g)

Descrizione

monday.com sync: #18048672280

Check existing issues

Actual Behavior

When no href, rel, target are defined, their values are being set to "false" when they should not be

Expected Behavior

  • Values should be set to null instead of false in these scenarios
  • Ensure the button and input components are in alignment with the solution to link
    • If, however, the above cannot be mitigated, is this a Lumina bug we need to explore/follow-up on?

Reproduction Sample

https://codepen.io/driskull/pen/JoogMPM?editors=100

Reproduction Steps

  1. open codepen
  2. Inspect link internals
  3. Notice the span is being set a ref, rel, target when it shouldn't be

Reproduction Version

3.2.0

Relevant Info

No response

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

N/A

Guida contributor