Skip to content

Commit 3bf49e9

Browse files
committed
fix: make sure page is not scrolled all way up on load
1 parent d5bbfe5 commit 3bf49e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modifiers/applyStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function applyStyles({ state }: ModifierArguments<{||}>) {
3737
function effect({ state }: ModifierArguments<{||}>) {
3838
const initialStyles = {
3939
popper: {
40-
position: 'absolute',
40+
position: 'fixed',
4141
left: '0',
4242
top: '0',
4343
margin: '0',

0 commit comments

Comments
 (0)