We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1463ce6 commit cf5d82cCopy full SHA for cf5d82c
src/DropdownMenu.ls
@@ -186,7 +186,9 @@ module.exports = create-class do
186
component-did-update: !->
187
dropdown-menu = find-DOM-node @refs.dropdown-menu-wrapper ? @refs.dropdown-menu
188
..?style.bottom = switch
189
- | @props.dropdown-direction == -1 => @props.bottom-anchor!.offset-height + dropdown-menu.style.margin-bottom
+ | @props.dropdown-direction == -1 =>
190
+ "#{@props.bottom-anchor!.offset-height + dropdown-menu.style.margin-bottom}px"
191
+
192
| _ => ""
193
194
# highlight-and-scroll-to-option :: Int, (() -> ())? -> ()
0 commit comments