Rene Dellefont
Rene Dellefont
Sorry to ping such an old issue - just curious if you ever found out what to do with the unused generic. Thanks - and thanks for such an amazing...
@ben-rogerson I'll try to poke around. It's def a non-issue issue heheh.
`use:selectTextOnFocus` is a generic piece of functionality that might be a good one for the mix (is this another classic from @kevmodrome ?): https://svelte.dev/repl/fe73b0e2f5824804a7f80c5379652294?version=3.21.0
@sw-yx I had the same thoughts when writing up some scroll actions - abstract out into action or just use `svelte:window` to attach listener. Good question indeed.
@christianheine RIGHT! I can't believe I flaked on the duplicated logic that actions helps solve. That makes total sense. And 100% - Svelte definitely presents many ways to approach the...
Hm, if it's a mouse entering/leaving viewport. I would guess one-off using `svelte:window`. If it's a specific element, probably action-worthy Could also use `bind` directive on the component's element if...
Thanks @sean-perkins ! I let this slip off the radar. I was having some trouble with my fork so really appreciate you making this commit. Sorry again! I did notice...
ah yes - i missed that detail. You're spot on!
@liamdebeasi You're welcome! Thanks for having me and I hope to keep on contributing!