Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Uncaught TypeError in mobile view if article is open #34330

Closed
ghost opened this issue Jun 1, 2021 · 8 comments
Closed

[4.0] Uncaught TypeError in mobile view if article is open #34330

ghost opened this issue Jun 1, 2021 · 8 comments

Comments

@ghost
Copy link

ghost commented Jun 1, 2021

Steps to reproduce the issue

The first click is at the three dots at the bottom of the screen:

1

Expected result

Click on link open frontend.

Actual result

Click on link cause Uncaught TypeError.

System information

image

Additional comments

Rotate the viewport and error is gone. Same behaviour using Safari/Mac.

@PhilETaylor

This comment was marked as abuse.

@dgrammatiko
Copy link
Contributor

@PhilETaylor once #33877 is merged I will patch also this one as well

@brianteeman
Copy link
Contributor

I'm getting a different error

dropdown.min.js?5.0.2:1 Uncaught TypeError: Cannot read property 'classList' of undefined
    at Dropdown.show (dropdown.min.js?5.0.2:1)
    at Dropdown.toggle (dropdown.min.js?5.0.2:1)
    at HTMLDivElement.<anonymous> (dropdown.min.js?5.0.2:1)
    at HTMLDivElement.n (dom.min.js?1627422273:1)

@dgrammatiko
Copy link
Contributor

There's no real issue here, the problem is the Mobile emulator:

On a real browser:
Screenshot 2021-08-01 at 12 01 24

On EMULATION mode:
Screenshot 2021-08-01 at 12 02 05

@brianteeman
Copy link
Contributor

No it depends on your screen size and if it will display the three dots or not which is where the bug is.

This is from my phone not an emulator

Screenshot_20210801-114736

@dgrammatiko
Copy link
Contributor

Test #35011

@brianteeman
Copy link
Contributor

for reference can also be tested in a desktop browser with a width of approx 700px

@richard67
Copy link
Member

Closing as having a pull request. Please test #35011 . Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants