Skip to content

Conversation

@MoritzWeber0
Copy link
Member

@MoritzWeber0 MoritzWeber0 commented Oct 18, 2025

Before, the behaviour was limited to scroll events. However, if there are not enough search results to show a search bar, the event doesn't trigger. This PR updates the corresponding Javascript to close the keyboard on mobile during touch events.

@netlify
Copy link

netlify bot commented Oct 18, 2025

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit fa0b08d
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/68f3a96f1c2c3200082780bb
😎 Deploy Preview https://deploy-preview-423--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@MoritzWeber0 MoritzWeber0 marked this pull request as draft October 18, 2025 14:44
@MoritzWeber0 MoritzWeber0 force-pushed the fix/scrolling-behaviour branch from cf2780f to fa0b08d Compare October 18, 2025 14:51
@MoritzWeber0 MoritzWeber0 changed the title fix: Use correct CSS class for Javascript scroll handling fix: Generalize scroll-handling to touches on mobile Oct 18, 2025
@MoritzWeber0 MoritzWeber0 marked this pull request as ready for review October 18, 2025 14:58
@therobrob therobrob merged commit 18b76fa into main Oct 19, 2025
7 checks passed
@therobrob therobrob deleted the fix/scrolling-behaviour branch October 19, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants