Skip to content

Commit 2f197e6

Browse files
author
Théophile Avoyne
authored
[Minor change] Changed cursor in dialogStyle (#124)
Set `cursor: 'auto'` instead of `cursor: 'default'` in `dialogStyle`. We should leave the browser decide what cursor to use based on the current context (e.g., `text` when hovering text) and not force it to use the `default` one.
1 parent 76715cd commit 2f197e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react-aria-modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class Modal extends React.Component {
182182
textAlign: 'left',
183183
top: 0,
184184
maxWidth: '100%',
185-
cursor: 'default',
185+
cursor: 'auto',
186186
outline: props.focusDialog ? 0 : null
187187
};
188188

0 commit comments

Comments
 (0)