Closed mhkeller closed 3 years ago
Fixes https://github.com/sveltejs/svelte-scroller/issues/13 by allowing width to be the natural CSS width when the scroller is absolutely positioned and setting it to the foreground width when it's in fixed position.
REPL: https://svelte.dev/repl/2977914e9c4d48f4bbf672fa7a449145?version=3.35.0
finally released this as 2.0.7. thank you
Fixes https://github.com/sveltejs/svelte-scroller/issues/13 by allowing width to be the natural CSS width when the scroller is absolutely positioned and setting it to the foreground width when it's in fixed position.