Resizing an image moves the page scroll

When I insert an image into a post, resizing using the image handle results in the web page scroll bar moving also.

To test:

Raise a new thread,
Insert an image,
Click off the image then click the image to get the resizing handles,
Grab the bottom right resizing handle with the mouse and drag,
-What I see is the web page scroll bar on the right hand side of the screen moves with the mouse motion.

Windows 10, Chrome, Logged in, Incognito and normal.
 
001.jpg

resizing using the image handle results in the web page scroll bar moving also
To be expected, no? You are changing the total size of the webpage by changing the size of one object on it. The page scroll-bars "should" reflect this?
 
I've just tried it. Mind you I'm on a Mac, but, if I 'Attach files' I don't have that, nothing like it. If I drag and drop I do. As soon as I make the pic a little smaller, the scroll bar disappears altogether and if I increase the photo the scroll bar correspondingly shortens. That doesn't seem unusual to me.
 
  • Like
Reactions: Pano
a little smaller, the scroll bar disappears altogether and if I increase the photo the scroll bar correspondingly shortens
The "a little" depends on the size of the image (presumably relative to the total page size). I had almost no effect with a small image. An old tall scan invoked large extra scroll-bar for the edit-box as well as the total page. (I hate that but it seems to come with the technology, and technology is king.)
 
Perhaps it is 'normal' behaviour, it just looked odd to me.

I expected the text box to scroll within a fixed 'window', but it seems to resize that 'window' dependant on the image size, hence the interaction with the page scroll bar.

I tried it on another forum using XF and it seems to be the way the forum software works.
 
View attachment 1031277

To be expected, no? You are changing the total size of the webpage by changing the size of one object on it. The page scroll-bars "should" reflect this?

I would agree with PRR on this. You are changing the size of the textbox by changing the size of what's inside it.

If the textbox didn't change size, when you made it bigger then it would overflow on to the page. And if you made it smaller you would be left with a void.

To my eye (and I am welcome to be corrected), I think this is desired behaviour, or at least, "what the standard software does". I agree it looks weird, but I think it's a design choice of one of two things that could happen in this event. The other being your page is forcibly scrolled up. Which I think might be worse.

We're trying to avoid costly customisations where possible so I would put this one in the too hard basket. Any custom fix is likely to be expensive, and possibly cause maintenance issues. Best to let this one through to the keeper I think.