Skip to content

feat: new resizeConstraints flags#17

Merged
hunghg255 merged 1 commit intohunghg255:masterfrom
QuentinFringhian:feat/min-resize
Apr 24, 2025
Merged

feat: new resizeConstraints flags#17
hunghg255 merged 1 commit intohunghg255:masterfrom
QuentinFringhian:feat/min-resize

Conversation

@QuentinFringhian
Copy link
Contributor

This flag is a new option to add to the options list. It adds the possibility to set a min/max width/height value to the resize action.

This will allow the dev to prevent users to customize the minimal and maximal value of the resizing (previously the default min values were 30).

Note that using this with keepAspectRatio set to true will only use the min max of the width.

Also this will not apply when using the % format of the resize.

@vercel
Copy link

vercel bot commented Apr 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quill-resize-module ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2025 3:59pm

@hunghg255 hunghg255 merged commit df3c90c into hunghg255:master Apr 24, 2025
3 checks passed
@Yohannfra
Copy link

Hi @hunghg255 I work with @QuentinFringhian, thank you for accepting his PR. Can you please tell us when you plan to release it on npm ?

Thank you, Yohan

@hunghg255
Copy link
Owner

Hi @hunghg255 I work with @QuentinFringhian, thank you for accepting his PR. Can you please tell us when you plan to release it on npm ?

Thank you, Yohan

Thanks, I just release

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

Successfully merging this pull request may close these issues.

3 participants