Skip to content

Conversation

@francoischalifour
Copy link
Contributor

All widget's methods need to be bound to not lose the this context when called from the panel widget.
We need to check the type of the widget's attributes before binding them because some are not methods.

An example of a previously failing widget using panel is ratingMenu.

Closes #3347.

All widget's methods need to be bound to not lose the `this` context when called from the `panel` widget.
We need to check the type of the widget's attributes before binding them because some are not methods.

An example of a previously failing widget using `panel` is `ratingMenu`.

Closes #3347.
@francoischalifour francoischalifour requested a review from a team December 18, 2018 15:47
@algobot
Copy link
Contributor

algobot commented Dec 18, 2018

Deploy preview for instantsearchjs ready!

Built with commit f402cd6

https://deploy-preview-3364--instantsearchjs.netlify.com

@francoischalifour francoischalifour merged commit 4875a73 into v3 Dec 20, 2018
@francoischalifour francoischalifour deleted the fix/panel-context branch December 20, 2018 09:49
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.

4 participants