svelte-legos
svelte-legos copied to clipboard
WIP 🚜 A framework for Svelte Utilities 💡 Current status: 78 utilities.
I need a action that does the the same thing as `scrollToBottomAction` but for horizontal scrolling. Whenever `scrollWidth` changes, scroll to the right.
This is simply to propose the addition of a new action for the community, feel free to close or delete this issue if you think this is not a worthy...
@rossrobino The clickToShareAction is not working, plus the docs does not look good, can you please look into this. (Attached a screenshare) https://user-images.githubusercontent.com/17961105/228774646-8080c173-7640-4e93-a4a4-b136fdc6b0d6.mov
window.scrollHeight is undefined, so it never triggers the update when this action is used on svelte:window. I'm currently working around this using the following patch file with pnpm patch: ```diff...
In case of dropdowns, there is a trigger element which the action should accept as a prop to check whether clickOutside does not contain trigger.
Currently the core module `textareaAutoSizeAction` uses already supports min and max, we just have to map params from actions to the module.
I think adding testing to the actions and stores could be a great idea.
Suggestion from Twitter ``` Have you considered making your docs one long page instead of different pages, like SvelteKit docs? I think it would improve discoverability, especially when checking it...