vaheqelyan / svelte-grid

A responsive, draggable and resizable grid layout, for Svelte.
https://svelte-grid.now.sh/
MIT License
948 stars 57 forks source link

[Help Wanted] Horizontal overflow #113

Open samson0v opened 2 years ago

samson0v commented 2 years ago

I am using a scroller for reaction on item overflow the Grid component. When the item overflows the y-axis, the scroller works fine but when the item overflows the x-axis, it does nothing. Is the bug or whether this is the right behaviour? ezgif com-gif-maker

Environment:

  1. Mac os Big Sur M1
  2. Firefox 95.0.2 (64-bit)

Best regards, Vitalii!

vaheqelyan commented 2 years ago

Sorry for the late response, I understand your problem https://github.com/vaheqelyan/svelte-grid/blob/master/src/MoveResize/index.svelte#L255

But the autoscroll feature simply works only for the y axis, on the other hand i do not think it is difficult to implement

samson0v commented 2 years ago

Hi @vaheqelyan, thanks for your reply. It will be grateful if you implement this feature in future.