react-component / react-component/tooltip

Tolltip does not calculate position properly on Edge

Open
#171 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
944
Forks
199
Avg merge
19h 1m
Merged PRs (30d)
3

Description

We use the tooltip component on our website but it has some problems with calculating absolute position in Edge.
Everything works fine in Chrome or Firefox.
Please check the previews with highlighted rc-tooltip tags

Chrome preview

chrome

Edge preview

edge

Steps to reproduce

Go to the following URL

https://www.iconwallstickers.co.uk/cloud-nursery-wall-sticker-pack

Select size, direction & colour

Then you will see the layout error


Do you have any solution or workaround for this issue?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the layout error at the provided iconwallstickers.co.uk URL in Edge after selecting size, direction, and colour. Compare the tooltip positioning with Chrome and Firefox, then trace the tooltip component's absolute-position calculation. Done means the highlighted tooltip tags are positioned correctly in Edge without regressing the other browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.