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

Snapping: Resizing blocks in relation to the page #2992

Closed
swissspidy opened this issue Aug 8, 2019 · 3 comments · Fixed by #3060
Closed

Snapping: Resizing blocks in relation to the page #2992

swissspidy opened this issue Aug 8, 2019 · 3 comments · Fixed by #3060
Labels
Enhancement New feature or improvement of an existing one
Milestone

Comments

@swissspidy
Copy link
Collaborator

swissspidy commented Aug 8, 2019

See #2875 for details.

Example: if the block is 200px from the left side then resizing the right size should allow snapping to 200px from the right side as well.

Changelog entry

  • Snapping: Added guidelines when resizing blocks in relation to the page
@swissspidy
Copy link
Collaborator Author

Screencast: https://cloudup.com/cqBfxMlZFGF

Shows functionality from this, #2993, #2994, and #2995.

@MackenzieHartung MackenzieHartung added this to the v1.4 milestone Oct 8, 2019
@swissspidy
Copy link
Collaborator Author

Testing Instructions

  1. Create new story
  2. Move the pre-existing block around on the page
  3. For each of the block's sides (left, right, top, bottom) and centers (vertical and horizontal), verify that red snapping guidelines are shown in the following scenarios:
    1. When resizing the block to the sides of the page (left, right, top, bottom).
    2. When resizing the block to the center (vertical and horizontal) of the page.

Basically, snapping guidelines should be shown to allow easily aligning blocks to the sides and center of the page while doing the resising. No actual snapping is done.

Next, verify that no guidelines are shown when resizing and at the same time holding down the alt/option key.

@swissspidy swissspidy assigned csossi and unassigned swissspidy Oct 11, 2019
@csossi
Copy link

csossi commented Oct 18, 2019

Verified in QA

@csossi csossi removed their assignment Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or improvement of an existing one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants