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

Icons overflowing Node conainter #250

Open
flyrobot27 opened this issue Apr 24, 2024 · 0 comments
Open

Icons overflowing Node conainter #250

flyrobot27 opened this issue Apr 24, 2024 · 0 comments

Comments

@flyrobot27
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior

When a (Larger) icon is set, it overflows the node container:
image

Expected behavior

The icon should fit within the container
image

This image is generated by modifying the "transform" html property of the icon.

Minimal reproduction of the problem with instructions

Create nodes, add an icon, and set the icon dimension to 60 x 60.

What is the motivation / use case for changing the behavior?

better presentation

Environment



Libs:
- react version: 18.2.0
- reaflow version: 5.2.11


Browser:
- [x] Chrome (desktop) version 124.0.6367.60
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [x] Firefox version 125.0.1
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
npm version is 10.2.4
node version is 18.19.1

Others:
Browser is on Windows 11
Server is on Ubuntu 22.04 LTS
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

No branches or pull requests

1 participant