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

'R' can rotate fixed sized or width/height items #2694

Closed
vela666 opened this issue Jun 5, 2024 · 4 comments · Fixed by #2699 or #2700 · May be fixed by Samg217/glpi#8
Closed

'R' can rotate fixed sized or width/height items #2694

vela666 opened this issue Jun 5, 2024 · 4 comments · Fixed by #2699 or #2700 · May be fixed by Samg217/glpi#8
Labels

Comments

@vela666
Copy link

vela666 commented Jun 5, 2024

image

@adumesny
Copy link
Member

adumesny commented Jun 5, 2024

Sorry you can't right now. Use an older build.curious why you need it off...you have to be dragging to have any effect.

@vela666
Copy link
Author

vela666 commented Jun 6, 2024

抱歉,您现在不能。请使用较旧的版本。好奇您为什么需要关闭它...您必须拖动它才能产生任何效果。

Because the w and h of the element are fixed, but now you can switch through the "r" on the keyboard.
Will configuration items be added in the future?

@adumesny
Copy link
Member

adumesny commented Jun 6, 2024

ok, so that's a bug I didn't think about... are you using canResize:false or setting minW=maxW=some number I suppose I should handle both (and also when grid is full and doesn't fit. this feature is a lot harder than it appears which is what I mentioned to the user who donated for it).
no plans to fix it right away (unless you want to donate for it) and I wasn't planning to add flag to disable unless I hear otherwise.

@adumesny adumesny changed the title What are the options to disable these operations? 'R' can rotate fixed sized or width/height items Jun 6, 2024
adumesny added a commit to adumesny/gridstack.js that referenced this issue Jun 13, 2024
* fix gridstack#2694
* not tested as I don't have my dev machine right now
adumesny added a commit to adumesny/gridstack.js that referenced this issue Jun 13, 2024
@adumesny
Copy link
Member

fixed in next release. don't forget to donate if you find this lib useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants