Skip to content

Scroll to time selection stop working after going back to the date selection (booking page) #26902

@edoardoturelli

Description

@edoardoturelli

Issue Summary

On small screens (e.g. mobile), on the page where you selected date & time, after clicking on a date in the calendar it scrolls to the list of time options. If you then scroll back up and select another date, it doens't scroll anymore. The same apply if you select a time, then a date and click the 'Back' button on the popup, and when selecting another date it doesn't scroll to the are where the available time slots are available.

Steps to Reproduce

  1. Go to a booking page on a small screen (mobile or a small-size window). It needs to be small enough to need to scroll to see the date and the list of available time
  2. Select a date
  3. Select a time
  4. Click the 'back' button on the popup
  5. scroll back up to the date selection
  6. click another date

Actual Results

It stops scrolling to the area where you can select the time.

Expected Results

It should keep on scrolling like when you first open the page

Technical details

Tried on:

  • Firefox on Desktop - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:147.0) Gecko/20100101 Firefox/147.0
  • Safari on Desktop - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15
  • Safari on mobile - Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Mobile/15E148 Safari/604.1

Evidence

https://drive.google.com/file/d/1KuXdwmii0YqUXA9oVcRwJgoqdApxeHrJ/view

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions