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

Too generic to set SVG's height in Uikit #4963

Open
vkcorp opened this issue Feb 1, 2024 · 0 comments
Open

Too generic to set SVG's height in Uikit #4963

vkcorp opened this issue Feb 1, 2024 · 0 comments
Labels
! Bug Something which isn't working as expected

Comments

@vkcorp
Copy link

vkcorp commented Feb 1, 2024

UIkit Version

3.16.22 and 3.18.0

Actual Behavior

Rectangle (Joint.js) is cutted by drawing with Joint.js.

Expected Behavior

Rectangle should be shown full.

Reproduction Link

jointjs1.zip

Steps to Reproduce the Problem

  1. Loading my sample code
  2. Check a rectangle on it.

Actually I'm trying to use using uikit@3.16.22 with jointjs@3.7.7, and found an error in my sample code.
I tried to draw a rect in my paper, but the bottom of my Rect was cut.
The reason is Uikit svg setting in CSS was too generic and joint.js's rect was affected.
(Tested it with latest 3.18.0 but my result was the same)

I also reported this issue to Joint.js and answered as :

clientIO/joint#2510

Could you use your Uikit's own svg ? and wouldn't affect to others !

@vkcorp vkcorp added the ! Bug Something which isn't working as expected label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
! Bug Something which isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant