Git Product home page Git Product logo

Comments (1)

drewjhart avatar drewjhart commented on June 27, 2024

Hi @amarax, I timedboxed digging into this a little more. After some study, I can confirm that we're running into an issue where the SwiperJS library is interacting in a problematic way with our ScrollIntoView. Here's the breakdown:

  • On large screens, the SwiperJS carousel isn't activated and the behaviour is as intended. You can see it below:
Screen.Recording.2024-01-18.at.15.42.36.mov
  • On smaller screens, when the SwiperJS carousel is activated, we get some conflicts with the way the SwiperSlide is rendered and the ScrollIntoView is fired. You can see this behaviour here:
Screen.Recording.2024-01-18.at.15.43.13.mov

Note that we see a duplicate version of the ChooseAnswer card when the user selects an answer.

Currently, SwiperJS doesn't offer a way to scroll vertically via a function or a hook (this would be the intended way to address the shortfalls in the library).

I'd like to request that we speak about this on Monday and see if there is a Design solution that could help mitigate this. While we can purpose this on the dev side, it will require us to take a look at other libraries and that might require more effort than we want to put in.

from righton-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.