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

Scroll to selected item through arrows #39

Closed
mariosh346 opened this issue Mar 1, 2019 · 4 comments
Closed

Scroll to selected item through arrows #39

mariosh346 opened this issue Mar 1, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@mariosh346
Copy link
Contributor

On REST API example if you add arrows-disable-instant-selection you can see that the selected item was not followed if you navigate with arrows

@iliyaZelenko
Copy link
Owner

Maybe I did not understand something, but everything seems to work as expected. Text turns blue if an item is selected through pointers.

I tried with and without arrows-disable-instant-selection, text selection is the same, the only thing that without this prop selection goes instantly.

The screenshot shows that the second element is selected through the arrows, its title is blue:

image

Is your browser showing not the same?

You gave me an idea: in item scoped slot, I can add a property transfer, if the current item is selected via arrows, users will be able to change the content depending on that. I can also pass the mouse over state.

@mariosh346
Copy link
Contributor Author

mariosh346 commented Mar 1, 2019 via email

@iliyaZelenko
Copy link
Owner

iliyaZelenko commented Mar 1, 2019

I think I understand, do you want the menu to scroll by following the selected item? That is, in this way the selected element will always be visible, no need to scroll with the mouse. Are you talking about it?

But where does arrows-disable-instant-selection?

By the way, I do not see your picture.

@mariosh346
Copy link
Contributor Author

mariosh346 commented Mar 1, 2019 via email

@iliyaZelenko iliyaZelenko added the enhancement New feature or request label Mar 3, 2019
@iliyaZelenko iliyaZelenko changed the title Select from arrows does not work as expected Scroll to selected item through arrows Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants