Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Reverse useLayoutEffect example hover tooltip description #5884

Closed
wants to merge 0 commits into from

Conversation

bennettdams
Copy link

@bennettdams bennettdams commented Apr 5, 2023

The tooltip example on the useLayoutEffect page is supposed to show how a tooltip is moved to a different position based on its available height.
The button to hover has a text to describe where the given tooltip is shown - at least I think that's what it is supposed to say.

Looking at the example, the description is wrong though, e.g. a tooltip shown below had the text above:

image

This PR reverses the text on all buttons to match the position of the shown tooltip.

@bennettdams bennettdams changed the title docs: Reverse example hover tooltip description docs: Reverse useLayoutEffect example hover tooltip description Apr 5, 2023
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

Size changes

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

This PR introduced no changes to the javascript bundle 🙌

Copy link

github-actions bot commented Nov 8, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

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.

2 participants