-
Notifications
You must be signed in to change notification settings - Fork 77
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
Scrollto element is not working while using vertical collection in power select option #266
Comments
We're doing something similar. The solution we came up with is to check if the element we want to scroll to is already rendered/loaded. If not, we render it and calculate the scrollTop position of that element. Hope it makes sense. |
@herzzanu Thanks. |
Nice. To make it nicer you can use an ember concurrency task and use |
I am using the vertical collection for power select. I am doing scrollTo action to highlight an option and scroll down key action.
Issue:
While triggering scrollTo, vertical collection DOM options are not loaded. So I can't able to scrollTo the highlighted option. After execution of scrollTo of power-select, vertical collection options are loaded...
Is there any other way to resolve this.
Version:
"ember-cli": "2.12.3",
"@html-next/vertical-collection": "1.0.0-beta.12"
The text was updated successfully, but these errors were encountered: