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

Inline image resizing miscalculations / Resizing an image to make it smaller sometimes does the opposite #10267

Closed
Dumluregn opened this issue Jul 29, 2021 · 1 comment · Fixed by #15821
Assignees
Labels
domain:ui/ux This issue reports a problem related to UI or UX. package:image type:bug This issue reports a buggy (incorrect) behavior.

Comments

@Dumluregn
Copy link
Contributor

📝 Provide detailed reproduction steps (if any)

Scenario 1.

  1. Go to Image demo.
  2. Change image type to In line.
  3. Try to shrink the image as much as possible.

✔️ Expected result

Image is correctly shrinking until some point where it can't get smaller.

❌ Actual result

After reaching some breakpoint (in about 1/3 of the original size) the image starts to grow again.

Scenario 2.

  1. Go to Image demo.
  2. Change image type to In line.
  3. Start enlarging the image.

✔️ Expected result

The size of the image corresponds to the position of the cursor.

❌ Actual result

Image is growing faster than expected.

The gif below shows both scenarios (the second one starts to be visible after an image reaches the original size)
image-resize

📃 Other details

  • Browser: all
  • OS: all
  • First affected CKEditor version: 29.0.0
  • Installed CKEditor plugins: ImageResize

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@Dumluregn Dumluregn added type:bug This issue reports a buggy (incorrect) behavior. package:image labels Jul 29, 2021
@CKEditorBot
Copy link
Collaborator

There has been no activity on this issue for the past two years. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

@Witoso Witoso changed the title Inline image resizing miscalculations Inline image resizing miscalculations / Resizing an image to make it smaller sometimes does the opposite Sep 28, 2023
@Witoso Witoso added the domain:ui/ux This issue reports a problem related to UI or UX. label Sep 28, 2023
@Mati365 Mati365 self-assigned this Feb 8, 2024
DawidKossowski added a commit that referenced this issue Feb 15, 2024
Fix (image): Fixed an issue with inline images where resizing an image to reduce its dimensions resulted in the opposite effect. Closes #10267.
@CKEditorBot CKEditorBot added this to the iteration 72 milestone Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:ui/ux This issue reports a problem related to UI or UX. package:image type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
4 participants