palantir/blueprint
Vedi su GitHubblueprint v3 autofocus in InputGroup (probably others) inside of popover causing scroll to jump
Open
#2864 aperta il 22 ago 2018
P2Package: coreType: bughelp wanted
Metriche repository
- Star
- (20.263 star)
- Metriche merge PR
- (Merge medio 43g 10h) (27 PR mergiate in 30 g)
Descrizione
I have an InputGroup with autoFocus=true inside a popover that must be scrolled to be reached. When I open the popover, the page is scrolled to the very top, even though all I did was click a button. You can see this in the gif below:

I imagine that this isn't just confined to InputGroup but probably any blueprint element that can autofocus.
Here's a reproduction of it:
https://codesandbox.io/s/m38yvkywxp
Thanks!