TiddlyWiki / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
8.04k stars 1.19k forks source link

"Close other tiddlers" should not scroll down #2520

Open braykov opened 8 years ago

braykov commented 8 years ago

Scenario: I want to focus working on a tiddler that is longer than one screen-height. This tiddler is at the top of the story river. When I click the "Close other tiddlers" icon of the tiddler, the other tiddlers do close, but the screen gets scrolled down to the bottom of my tiddler. This hides the top of my tiddler and the icons that I need to click, i.e. to edit the tiddler.

Another variation: If the long tiddler is in the middle of the story river (having random number of tiddlers on top and on the bottom) it still scrolls down, but not as much. The top bar is still hidden, though.

Desired behavior: There should be no scrolling down (scrolling up is actually expected if I am not selecting the first tiddler in the river or my tiddler is the last in the story river). I expect to have the tiddler position (it's title bar) unchanged.

pmario commented 8 years ago

You could use the "sticky title" setting: ControlPanel: Appearance: Theme Tweaks: The setting is at the top. Also works in edit mode.

tobibeer commented 8 years ago

You could use the "sticky title" setting: ControlPanel: Appearance: Theme Tweaks: The setting is at the top. Also works in edit mode.

Please, no. The story should always scroll the top of the tiddler to scroll to at a defined top position.

I'm pretty sure we already had lengthy conversations about the problematic ways the scroll-to position is computed atm.

pmario commented 6 years ago

@braykov ... Is this still a problem with the latest version. Scroll behaviour has changed a little bit.

braykov commented 6 years ago

Hi, @pmario I managed to recently save some time to upgrade my TW to v5.1.17. The first scenario - when I am focusing on the first tiddler is now fixed. But the second scenario - when my tiddler is in the middle - still has the bug. The tiddlers located before and after it get closed, but my tiddler still scrolls to the bottom. Thus its beginning is still outside my viewing area and I have to scroll up to access the buttons and start working on it.

This is very easy to test if you open at least three tiddlers which are longer than a screenheight.