svelte: Svelte 5: Chrome: svelte-select list is not opened on the first click (same code of Svelte 4)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (6 by maintainers)

Most upvoted comments

I think someone should report it to Chrome, as this bug only occurs in Chrome – not even Edge. On the other-hand, we might be able to mitigate this in Svelte by attaching inline event handlers after we append to the DOM.

Update: we can’t really add events later, because it breaks the ordering with other directives like bind:, use: and transition: which both expect event handlers to have run in an order they understand. This is a tricky one for sure.

That’s because we fixed it

Same as above, Canary 127.0.6490.0