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

Resize from border with multiple directions not only bottom right #91

Open
Omicrxn opened this issue Aug 19, 2024 · 2 comments
Open

Resize from border with multiple directions not only bottom right #91

Omicrxn opened this issue Aug 19, 2024 · 2 comments
Milestone

Comments

@Omicrxn
Copy link

Omicrxn commented Aug 19, 2024

I managed the resize from border using custom handles:
<div slot="resizeHandle" class="absolute inset-0 cursor-se-resize border-2 border-transparent group-hover:border-primary" let:resizeStart onpointerdown={resizeStart} ></div>

but it doesn't matter which border you drag from it always resizes as if you were dragging from bottom right.

@cuire
Copy link
Owner

cuire commented Aug 19, 2024

I managed the resize from border using custom handles:
<div slot="resizeHandle" class="absolute inset-0 cursor-se-resize border-2 border-transparent group-hover:border-primary" let:resizeStart onpointerdown={resizeStart} ></div>

but it doesn't matter which border you drag from it always resizes as if you were dragging from bottom right.

I have a big project to expand customization capabilities. But for this it is necessary to change the API. I will create a ticket and link all related tasks to it. Stay tuned ♥️

@Omicrxn
Copy link
Author

Omicrxn commented Aug 19, 2024

Thanks @cuire amazing work by the way if i have time I'd love to contribute in the future!😋

@cuire cuire added this to the 2.0.0 milestone Aug 30, 2024
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

2 participants