Skip to content

feat(region): Add cursor tooltip#488

Merged
mergify[bot] merged 2 commits intobox:masterfrom
mingzexiao6:add-cursor-popup
May 20, 2020
Merged

feat(region): Add cursor tooltip#488
mergify[bot] merged 2 commits intobox:masterfrom
mingzexiao6:add-cursor-popup

Conversation

@mingzexiao6
Copy link
Contributor

@mingzexiao6 mingzexiao6 commented May 18, 2020

image

placement: 'right',
};

const generateGetBoundingClientRect = (x = 0, y = 0) => () => ({
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does new DOMRect work for our purposes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

DOMRect is not defined in test. It took me one hour to try mocking it but the new stuff is complicated. So I changed it back.

@mingzexiao6 mingzexiao6 reopened this May 20, 2020
@mingzexiao6 mingzexiao6 marked this pull request as ready for review May 20, 2020 17:55
@mingzexiao6 mingzexiao6 requested a review from a team as a code owner May 20, 2020 17:55
Copy link
Collaborator

@jstoffan jstoffan left a comment

Choose a reason for hiding this comment

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

Can you add a screenshot?

@mergify mergify bot merged commit 7703715 into box:master May 20, 2020
@mingzexiao6 mingzexiao6 deleted the add-cursor-popup branch August 13, 2020 00:01
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