antonioru / antonioru/beautiful-react-diagrams

Wrong link position after custom Css `scale` then window resize when using `ports` ?

Open
#126 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.
Th link positions is wrong after custom Css `scale` and then window resize when using `ports` ?

**To Reproduce**
Steps to reproduce the behavior:
1. Open the Port demo https://beautifulinteractions.github.io/beautiful-react-diagrams/#/Ports
2. Set css `transform: scale(1.5)` to the DOM element with `bi bi-diagram` className.
3. Resize the window then.
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.
The path will follow with the special port.

**Screenshots**
If applicable, add screenshots to help explain your problem.
![error img](https://ibb.co/88V6w1K)
[https://ibb.co/88V6w1K](https://ibb.co/88V6w1K)

**Desktop (please complete the following information):**
- OS: iMac (Retina 5K, 27-inch, 2017)
- Browser: chrome latest
- Version: latest

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.