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

Drag px value not recognised #177

Closed
AdrianSimionov opened this issue Nov 29, 2022 · 3 comments
Closed

Drag px value not recognised #177

AdrianSimionov opened this issue Nov 29, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@AdrianSimionov
Copy link

AdrianSimionov commented Nov 29, 2022

Describe the bug
When specifying the drag values appended by px, as mentioned in the documentation, the px value is ignored and percentage is used instead.

Samples to Reproduce

<grid drag="50px 50px" drop="10px 10px" border="1px solid white">
A
</grid>

Expected behavior
The grid would have a size of 50px by 50px positioned 10px from the border.

@AdrianSimionov AdrianSimionov added the bug Something isn't working label Nov 29, 2022
@bchmura
Copy link

bchmura commented Jan 13, 2023

I have the same issue. as a new user, it drove me nuts trying to figure out what I was doing wrong : )

@AdrianSimionov
Copy link
Author

AdrianSimionov commented Jan 13, 2023

I started adding CSS and it is working fine:

<grid style="top: 130px; left: 60px; height:830px; width:1800px; border: 1px solid red">

Until it gets fixed, this should be more than enough.

@MSzturc
Copy link
Owner

MSzturc commented Feb 15, 2023

will be fixed with next release

@MSzturc MSzturc closed this as completed Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants