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

Tooltips API for mobile and desktop #1271

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

loucass003
Copy link
Member

@loucass003 loucass003 commented Dec 20, 2024

This is the base api for tooltips.
Nothing use the api atm someone else will use these later.

Note: It currently does not work with android as the touch events are not working for some fucking reason. The best way of fixing this would be to switch to tauri for the android build.

Here is how to use it:

 <ResetButton type={ResetType.Full} variant="big"></ResetButton>
        <Tooltip
          content={<div className="">I AM A TALL TOOLTIP</div>}
          preferedDirection="right"
        >
          <ResetButton type={ResetType.Mounting} variant="big"></ResetButton>
        </Tooltip>

@loucass003 loucass003 requested a review from ImUrX as a code owner December 20, 2024 22:46
@github-actions github-actions bot added the Area: GUI Related to the GUI label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: GUI Related to the GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant