Pricing Blog

Spark core bottom sheet prevents horizontal scrolling

  • baba_bambule-1429856443934179438

    BabaBambule

    24 days ago

    So I have a spark core bottom sheet element that has some information in it and an area with horizontal scrolling.

    Scrolling the x-axis with mouse works just fine, but it's not working with touch inputs. Seems like the scroll-area element inside the bottom sheet element is preventing the horizontal scroll interaction.

    Does anybody know how I can make that work?
    1
  • baba_bambule-1429914227967266827

    BabaBambule

    24 days ago

    also tried the horizontal scroll section by svenning but that didn't work either
  • baba_bambule-1429930378465902776

    BabaBambule

    24 days ago

    okay got it fixed lol. I just added a touchmove event with stop propagation to my scroll snap element and it started working 🥳
    🎉1