Skip to content

Commit

Permalink
fix: popup closes on selection
Browse files Browse the repository at this point in the history
When on="focus" on Popup element it closes
on date/time selection because trigger
loses focus.
  • Loading branch information
arfedulov committed Nov 16, 2018
1 parent a6886e4 commit e3d1807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "semantic-ui-calendar-react",
"version": "0.11.0",
"version": "0.11.1",
"description": "date/time picker built from semantic-ui elements",
"main": "dist/index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/views/InputView.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function InputView(props) {
trigger={inputElement}
hoverable={closeOnMouseLeave}
flowing
tabIndex={1}
mountNode={mountNode}
onUnmount={onPopupUnmount}
style={popupStyle}
Expand Down

0 comments on commit e3d1807

Please sign in to comment.