On Tuesday, July 14, 2020 at 4:44:26 AM UTC-7, Adithya B M wrote:
>
> 1) Making the whole tiddler a button to start the scrolling doest work for 
> me. Most of the time, I end up starting the autoscroll accidentally. Also, 
> it doesnt let me select and copy text. Having the toolbar is good enough 
> for me.
>

I've added "clickaction" setting in TiddlyTools/AutoScroll/Setup.  The 
default is "<<pause>>".  Clearing this value disables the "click (or space 
or enter) to start/pause/resume" behavior.  This allows you to select/copy 
text without also triggering the auto-scrolling behavior
 

> 2) vertical height could also be configurable. I am using 80vh and it 
> works for me.
>

I've added "frameheight" setting in TiddlyTools/AutoScroll/Setup.  The 
default is "50vh".  You can change this to any valid CSS height value you 
like (e.g., "80vh", "10em", "5in", "20cm", etc).  Clearing this value uses 
hard-coded default of "50vh".
 

> 3) This doesnt play well with the stroll plugin - the back-references from 
> stroll end up on top of the tiddler content for all the 'autoscroll' 
> tiddlers. Could this be fixed?
>

I assume that "stroll plugin" uses a custom ViewTemplate to put the 
back-references *after* the $:/core/ui/ViewTemplate/body 
(".tc-tiddler-body" element).
I added list-before="$:/core/ui/ViewTemplate/body" to the 
TiddlyTools/AutoScroll/Template.  This moves the autoscroll content 
*before* the .tc-tiddler-body.
Hopefully, this *might* fix the problem.  I don't use "stroll", so I can't 
test it.  Let me know.

ALSO...

I added handling in TiddlyTools/AutoScroll/Template for responding to 
"folded" vs. "unfolded" states.
Note:
if you fold the tiddler while scrolling is *active*, unfolding will result 
in the scrolled position being at the end of the content.
If you fold the tiddler while scrolling is *paused*, unfolding will result 
in the scrolled position being at the start of the content.

Thanks for finding and testing all these use-cases that I hadn't 
considered.  It's really been a big help.

-e

-- 
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/6e903cb5-4891-4306-81fb-a8449cc2941ao%40googlegroups.com.

Reply via email to