mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
19 stars 23 forks source link

[ic-link] download=false still downloads the link #2082

Open GCHQ-Developer-530 opened 4 days ago

GCHQ-Developer-530 commented 4 days ago

Summary of the bug

Only for the web components, when download is false, it still downloads the link rather than having the default link behaviour.

🪜 How to reproduce

  1. Add download to playground story
  2. See that even though it is false to begin with, it still downloads the link

🧐 Expected behaviour

It should work like React which seems to remove the download prop when it is set to false.