Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add an emit "scroll" event for USelectMenu #2793

Open
ItsNotMyFault opened this issue Nov 27, 2024 · 0 comments
Open

add an emit "scroll" event for USelectMenu #2793

ItsNotMyFault opened this issue Nov 27, 2024 · 0 comments
Labels
enhancement New feature or request triage

Comments

@ItsNotMyFault
Copy link

ItsNotMyFault commented Nov 27, 2024

For what version of Nuxt UI are you suggesting this?

v2.x

Description

Hi I would like to have within the component UselectMenu emit the event "scroll"
with the following properties:

{
  target: HTMLElement, 
  currentTarget: HTMLElement, 
  scrollTop: number,
  scrollHeight: number, 
  clientHeight: number, 
}

to dynamically remote search items through an api and append it dynamically to my USelectMenu to create an infinite scroll.

This feature would be great in both version :)

Additional context

No response

@ItsNotMyFault ItsNotMyFault added enhancement New feature or request triage labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant