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

Set tooltip initial offscreen position #291

Merged
merged 2 commits into from
Mar 27, 2023

Conversation

alistairjcbrown
Copy link
Member

Reviewer: @GioSensation
Asana: https://app.asana.com/0/1200930669568058/1204259127711851/f

Description

Sets the initial position of the tooltip to be far offscreen before the hidden attribute is removed.

Steps to test

  1. Go to https://69bboutique.com/
  2. Click on Dax icon to open tooltip -- watch the top left corner to see if there's a flash of tooltip
  3. Repeat as needed

src/UI/HTMLTooltip.js Outdated Show resolved Hide resolved
@alistairjcbrown alistairjcbrown force-pushed the abrown/set-tooltip-initial-offscreen-position branch from ee3666c to dddf99e Compare March 27, 2023 10:55
? `transform: translate(${left}px, ${top}px) rotate(180deg); transform-origin: 16px;`
: `transform: translate(${left}px, ${top}px);`
? `transform: translate(${left}px, ${top}px) rotate(180deg); transform-origin: 16px !important;`
: `transform: translate(${left}px, ${top}px) !important;`
Copy link
Member Author

Choose a reason for hiding this comment

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

We need to have !important on these now to make sure they override any styles set in the CSS file

@alistairjcbrown
Copy link
Member Author

@GioSensation Thanks, updated 👍

Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

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

Thanks for the follow up! 🚀

@alistairjcbrown alistairjcbrown merged commit 3ae6e48 into main Mar 27, 2023
@alistairjcbrown alistairjcbrown deleted the abrown/set-tooltip-initial-offscreen-position branch March 27, 2023 11:17
CDRussell pushed a commit to duckduckgo/Android that referenced this pull request Apr 12, 2023
Task/Issue URL: 
Autofill Release:
https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/6.4.3


## Description
Updates Autofill to version
[6.4.3](https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/6.4.3).

## What's Changed

### Tests and Tooling

- Remove manual server setup in tests by @shakyShane in
duckduckgo/duckduckgo-autofill#289
- Add windows release automation by @szanto90balazs in
duckduckgo/duckduckgo-autofill#272
- Fix extension release flow by @GioSensation in
duckduckgo/duckduckgo-autofill#294
* Update Asana integration to include expected header by
@alistairjcbrown in
duckduckgo/duckduckgo-autofill#295

### Bugfixes

- Set tooltip initial offscreen position by @alistairjcbrown in
duckduckgo/duckduckgo-autofill#291
- Only center tooltip on small screensizes by @alistairjcbrown in
duckduckgo/duckduckgo-autofill#290


**Full Changelog**:
duckduckgo/duckduckgo-autofill@6.4.1...6.4.3

## Steps to test
This release has been tested during autofill development. For smoke test
steps see [this
task](https://app.asana.com/0/1198964220583541/1200583647142330/f).

Co-authored-by: alistairjcbrown <alistairjcbrown@users.noreply.github.com>
Co-authored-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
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.

2 participants