nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Select [Mobile]

Open nickaris1 opened this issue 1 year ago • 8 comments

HeroUI Version

@heroui/[email protected]

Describe the bug

this issue is on mobile only. The selector opens on release. If I tap once it opens and if I tap again it stays open.

Your Example Website or App

https://www.heroui.com/docs/components/select

Steps to Reproduce the Bug or Issue

  1. Use mobile
  2. go to any demo component at https://www.heroui.com/docs/components/select
  3. tap twice

Expected behavior

when tap twice the component should close

Screenshots or Videos

No response

Operating System Version

Chromium based Mobile

Browser

Chrome

nickaris1 avatar Apr 30 '25 13:04 nickaris1

@nickaris1 can you please share a video? It is working just fine on my phone

Vishvsalvi avatar May 02 '25 02:05 Vishvsalvi

@Vishvsalvi to clarify the issue, it happens when tapping the "base component" twice. You dont select any option. You tap the wrapper twice, you expect it to close, and it doesnt

alegian avatar May 02 '25 05:05 alegian

@wingkwong The behaviour @alegian mentioned in mobile view is reproducible. Can you verify this from you side as well and assign this to me?

Vishvsalvi avatar May 02 '25 07:05 Vishvsalvi

@Vishvsalvi I got a PR (#5100) which could be related. You may first check if that PR resolves it or not. If not, you may work on it.

wingkwong avatar May 02 '25 08:05 wingkwong

@wingkwong PR #5100 resolves this issue. You can consider closing this issue

Vishvsalvi avatar May 02 '25 08:05 Vishvsalvi

Thanks for confirming. I linked the issue instead. will automatically close once the PR is merged.

wingkwong avatar May 02 '25 10:05 wingkwong

The fix is now available in beta version for 2.8.0.

wingkwong avatar May 28 '25 16:05 wingkwong