palantir/blueprint
blueprint v3 autofocus in InputGroup (probably others) inside of popover causing scroll to jump
开放
#2,864 创建于 2018年8月22日
P2Package: coreType: bughelp wanted
仓库指标
- 星标
- (20,263 个星标)
- PR 合并指标
- (平均合并 43天 10小时) (30 天内合并 27 个 PR)
描述
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!