Skip to content

Commit

Permalink
fix: use mousedown instead of click for modal events
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswhong committed Sep 26, 2019
1 parent 6805693 commit 176d58c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/modals/AddDataset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const AddDataset: React.FunctionComponent<AddDatasetProps> = (props) => {
<DebouncedTextInput
name='datasetName'
label='Dataset Reference'
labelTooltip={'Qri dataset references use [peername]/[datasetname] format'}
labelTooltip={'Qri dataset references use [username]/[datasetname] format'}
tooltipFor='modal-tooltip'
type=''
value={datasetReference}
Expand Down
2 changes: 1 addition & 1 deletion app/components/modals/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const Modal: React.FunctionComponent<ModalProps> = ({ title, dismissable = false
open={false}
ref={onModalRef}
id={id}
onClick={onModalClick}
onMouseDown={onModalClick}
className={modalClassName}
>
{renderHeader()}
Expand Down

0 comments on commit 176d58c

Please sign in to comment.