1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

Merge branch 'master' of github.com:BoostIO/Boostnote into add-notification-onChangeUi

This commit is contained in:
Paul Rosset
2017-12-01 17:34:16 +00:00
2 changed files with 7 additions and 5 deletions

View File

@@ -1,11 +1,8 @@
.notification-area .notification-area
z-index 1000 z-index 1000
font-size 12px font-size 12px
position absolute position: relative
bottom 20px top: 12px
width 100%
float left
height 30px
background-color none background-color none
.notification-link .notification-link

View File

@@ -38,6 +38,10 @@ class TagSelect extends React.Component {
} }
} }
handleNewTagBlur (e) {
this.submitTag()
}
removeLastTag () { removeLastTag () {
let { value } = this.props let { value } = this.props
@@ -135,6 +139,7 @@ class TagSelect extends React.Component {
placeholder='Add tag...' placeholder='Add tag...'
onChange={(e) => this.handleNewTagInputChange(e)} onChange={(e) => this.handleNewTagInputChange(e)}
onKeyDown={(e) => this.handleNewTagInputKeyDown(e)} onKeyDown={(e) => this.handleNewTagInputKeyDown(e)}
onBlur={(e) => this.handleNewTagBlur(e)}
/> />
</div> </div>
) )