File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ module.exports = create-class do
121
121
122
122
on-mouse-out : !~>
123
123
if ! @ props .scroll-lock
124
- @ props .on-highlighted-uid-change undefined
124
+ <~ @ props .on-highlighted-uid-change undefined
125
125
126
126
render-item : @ props .render-option
127
127
} <<<
@@ -131,7 +131,7 @@ module.exports = create-class do
131
131
on-click : !~> @ props .on-option-click @ props .highlighted-uid
132
132
on-mouse-over : ({current-target }) !~>
133
133
if ! @ props .scroll-lock
134
- @ props .on-highlighted-uid-change uid
134
+ <~ @ props .on-highlighted-uid-change uid
135
135
136
136
# render-dropdown :: ComputedState -> ReactElement
137
137
render-dropdown : ({dynamic-class-name }) ->
Original file line number Diff line number Diff line change @@ -215,7 +215,6 @@ module.exports = React.create-class do
215
215
(o , callback ) ~>
216
216
<~ @ set-state " #{ p } " : o
217
217
callback!
218
-
219
218
@ props [camelize " on-#{ p } -change" ] o , (-> )
220
219
221
220
# both p and its change callback are coming from state
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ module.exports = create-class do
411
411
412
412
# if the list of options was closed then reset highlighted-uid
413
413
if ! @ props .open and prev-props .open
414
- @ props .on-highlighted-uid-change undefined
414
+ <~ @ props .on-highlighted-uid-change undefined
415
415
416
416
# component-will-receive-props :: Props -> ()
417
417
component-will-receive-props : (props ) !->
You can’t perform that action at this time.
0 commit comments