Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

When data-container is set, first click resets scroll position #54

Closed
jmjdev opened this issue May 6, 2018 · 3 comments
Closed

When data-container is set, first click resets scroll position #54

jmjdev opened this issue May 6, 2018 · 3 comments

Comments

@jmjdev
Copy link

jmjdev commented May 6, 2018

Hi,

I've noticed that when the data-container attribute is set, when the drop-down is initially selected, the scroll position resets to zero (the top of the page). Though when the drop-down is selected a second time the scroll position is retained.

This is also evident here:
http://developer.snapappointments.com/bootstrap-select/examples/#container

Any idea on how this may be fixed?

Thanks,

Jack

@caseyjhol caseyjhol added the bug label May 16, 2018
@caseyjhol
Copy link
Member

This issue appears to only occur with Bootstrap 4. I'm guessing it has something to do with Popper.

@caseyjhol
Copy link
Member

@ghost
Copy link

ghost commented Aug 21, 2018

This issue was moved by caseyjhol to snapappointments/bootstrap-select#2044.

@ghost ghost closed this as completed Aug 21, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants