Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

fix highlight when using animate#2063

Open
gboros wants to merge 1 commit into
angular-ui:masterfrom
Servoy:servoy_fix_highlight_when_using_animate
Open

fix highlight when using animate#2063
gboros wants to merge 1 commit into
angular-ui:masterfrom
Servoy:servoy_fix_highlight_when_using_animate

Conversation

@gboros

@gboros gboros commented Oct 13, 2017

Copy link
Copy Markdown

when animate is used, the dropdown is not scrolled to the selected item - this commit calls "_ensureHighlightVisible" in this case, to fix it

@Jefiozie

Copy link
Copy Markdown
Contributor

HI @gboros can you show a working an non working example for me?
So I can see what the original problem is ,thanks

@gboros

gboros commented Oct 18, 2017

Copy link
Copy Markdown
Author

hi
here is a non-working example : https://plnkr.co/edit/TWDf59jpdY7UuFf3BtTI?p=preview The dropdown should scroll to 'eleven'. If you change to use the 'select-fixed.js', that contains the PR, it will scroll

@Jefiozie Jefiozie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make a test for this? So that future adjustments won’t break.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants