[openstreetmap/openstreetmap-website] Prevent default event when clicking OpenID button (PR #4558)

Anton Khorev notifications at github.com
Tue Mar 5 09:30:01 UTC 2024


Fixes this:

Open a window with small height, go to the login page, scroll down to the OpenId button.
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/27dcfeef-c95f-4303-bbad-bb2de2e13239)

Press the button. The view scroll to the top, away from the revealed OpenId form.
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/f03a2d7e-2076-4eb9-a701-9e1f1ebe8655)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4558

-- Commit Summary --

  * Prevent default event when clicking OpenID button

-- File Changes --

    M app/assets/javascripts/login.js (3)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4558.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4558.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4558
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4558 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240305/9bcf30f7/attachment-0001.htm>


More information about the rails-dev mailing list