Skip to content

Conversation

@stanislawosinski
Copy link
Contributor

No description provided.

@valscion
Copy link
Member

Thanks! Would you be able to showcase the difference in behavior with a small screencap or something? It would make it easier to understand how this behavior has changed now ☺️

@stanislawosinski
Copy link
Contributor Author

Before:

tooltips-before.mp4

After:

tooltip-after.mp4

@valscion
Copy link
Member

Nice, thank you! Looks great!

Would you be able to write a small note on the changelog about this?

// Ignoring hovering on `FoamTree` branding group and the root group
if (event.group && (event.group.attribution || event.group === this.get('dataObject'))) {
event.preventDefault();
if (props.onMouseLeave) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this conditional? Is there a place in the code where props.onMouseLeave would not be specified?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made the condition analogous to the props.onGroupHover check below, which is also there but probably not required:

        if (props.onGroupHover) {
          props.onGroupHover.call(component, event);
        }

I can remove the props.onMouseLeave condition, not a problem.

@th0r th0r merged commit 9ade716 into webpack:master Jan 20, 2021
@th0r
Copy link
Collaborator

th0r commented Jan 20, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants