question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

snapContainer property - change it on move

See original GitHub issue

Environments

Description

Hi, When I’m dragging an element It’s possible to change verticalGuidelines horizontalGuidelines dynamically, but they are rendering relative to the snapContainer, so I want to change a snapContainer as well, but changing this property doesn’t work. Maybe I can resolve it in another way(change a container)?

I created a demo, when I move an element to another green zone I expect this will be a new snapContainer.

Thanks for your hard work!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
daybrushcommented, Oct 28, 2022

@mhaidamashko It probably didn’t change because the snapshot was applied before dragStart.

I’ll check it.

0reactions
mhaidamashkocommented, Nov 7, 2022

@daybrush thanks, it looks good now

Read more comments on GitHub >

github_iconTop Results From Across the Web

SNAPCONTAINER and SNAP_GET_CONTAINER - IBM
Used with the MON_GET_TABLESPACE table function and the SNAPTBSP_QUIESCER SNAPTBSP_RANGE administrative view, the SNAPCONTAINER administrative view returns data ...
Read more >
Practical CSS Scroll Snapping
You can change that by setting the scroll-padding property on the container. It follows the same syntax as the regular padding property.
Read more >
Actions - Proto.io Help Center
Containers Go to snap container page… Scroll scrollable... ... Move whole screen… End loop sequence... Logic. Change property… Set variable.
Read more >
Scroll Snap Type - Tailwind CSS
Use the snap-mandatory utility to force a snap container to always come to rest on a snap point. Scroll in the grid of...
Read more >
Moveable - Documentation - Daybrush
Whether the target size is detected and updated whenever it changes. ... Properties: isInstant optional ... When dragging the target, the clip also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found