Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Call setMenuPositions() on scroll & resize #69

Closed
wants to merge 2 commits into from

Conversation

cdevienne
Copy link

If the input position changes, the menu does not follow the move.

This patch fixes it by calling setMenuPosition on resize and scroll, with a throttle of 16msec.

lodash throttle has a 'cancel' (not 'clear') method to clear pending calls.
@CMTegner
Copy link
Collaborator

setMenuPositions will likely be removed for v2, so we won't be prioritising any fixes for this at the moment. Regardless, thanks for the effort!

@CMTegner CMTegner closed this May 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants