Hi Soren, Hubert, Ste, I’m not 100% sure of any of this, but I think that the behaviour reported by Soren is a regression, and the zoomin view did at one point not have this problem.
But, invoking scrollIntoView() in zoomin.navigateTo() was/is not the fix because that affects all navigations, not just navigations to newly opened tiddlers. The reason why that is important is because the original goal of the zoomin storyview was the way that the links animate into the titles of the target tiddlers. I wanted to make traversing links be a visceral experience, evoking the feeling that the target of the link is underlayed beneath the link itself. Of course, nowadays, I think people mostly use it as an ersatz single tiddler view, and don’t care about the animation. Anyhow, this is an area where I would love to see more experimentation. Best wishes Jeremy. > On 2 Apr 2021, at 11:00, Hubert <[email protected]> wrote: > > Interesting observation, I'd like to know this too. > > On Wednesday, 24 March 2021 at 11:37:05 UTC Soren Bjornstad wrote: > So when I took a look at $:/core/modules/storyviews/zoomin.js, I found that > seemingly the necessary code was already there, just commented out: > > // Scroll the target into view > // $tw.pageScroller.scrollIntoView(targetElement); > > I checked the blame view > <https://github.com/Jermolene/TiddlyWiki5/blame/master/core/modules/storyviews/zoomin.js> > and it appears this has been commented out since it was first introduced in > 2013. Is this intentional? Not a big deal either way, just curious. > > On Saturday, March 20, 2021 at 12:31:36 PM UTC-5 Soren Bjornstad wrote: > Hi all, > > I've been considering using the zoomin story view for Grok TiddlyWiki to make > life easier for people who aren't used to scrolling through a bunch of > different tiddlers, but have noticed that when I click on a link within a > tiddler, the browser doesn't scroll to the top of the newly opened tiddler. > Given that sections consist of a number of tiddlers transcluded together, > they are often larger than the screen, so I suspect this is enough to cancel > out any benefit in behavior standardization. > > Is there an easy way to adjust the scroll when using zoomin? I'm not in the > mood to dive into rendering JavaScript today, but perhaps someone else has > done this before. > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/d6e70f10-a49e-47a9-94bb-080404861bd9n%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/d6e70f10-a49e-47a9-94bb-080404861bd9n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/E5B4D177-FFF4-4ACE-BE75-E712957C4EF0%40gmail.com.

