Skip to content

Conversation

@pirxpilot
Copy link
Member

ensure that 'scroll' and 'resize' handlers are in all cases bound at most once, and that they are always unbound when Tip is removed

fixes #38
fixes #25

ensure that 'scroll' and 'resize' handlers are in all cases bound at
most once, and that they are always unbound when Tip is removed

fixes #38
fixes #25
@Swatinem
Copy link
Contributor

Swatinem commented Apr 8, 2014

I don’t really have a clear mind right now to really see through all that logic. So if you feel this is correct, go for it.

@pirxpilot
Copy link
Member Author

Thanks for reviewing it. I am OK with letting it simmer for a bit.
Would like to give @dominicbarnes a chance to comment since it's an alternative to #38.

@dominicbarnes
Copy link
Member

This is a much better fix than my own, so I'd much rather see this merged.

This should close #38 once it is merged.

pirxpilot added a commit that referenced this pull request Apr 8, 2014
improve binding of 'scroll' and 'resize' handlers
@pirxpilot pirxpilot merged commit 7f5cac2 into master Apr 8, 2014
@pirxpilot
Copy link
Member Author

thanks - released in 1.0.3

@pirxpilot pirxpilot deleted the fix-unbinds branch April 8, 2014 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error thrown when attempting to hide a fixed position tip

4 participants