1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

改善 - Finder descriptionのTextoverflow対策, 最初起動の時のFinderの異常振る舞い

This commit is contained in:
Rokt33r
2015-08-22 03:46:30 +09:00
parent 657ebc99df
commit b88d5cfb06
3 changed files with 5 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ var Finder = React.createClass({
document.addEventListener('keydown', this.handleKeyDown)
document.addEventListener('click', this.handleClick)
window.addEventListener('focus', this.handleFinderFocus)
this.handleFinderFocus()
},
componentWillUnmount: function () {
document.removeEventListener('keydown', this.handleKeyDown)