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

[Bug] Modal not working inside tables on mobile #28

Open
guiqis opened this issue Jan 16, 2021 · 0 comments
Open

[Bug] Modal not working inside tables on mobile #28

guiqis opened this issue Jan 16, 2021 · 0 comments

Comments

@guiqis
Copy link

guiqis commented Jan 16, 2021

Version

1.5.0

Reproduction link

http://ghts.com.br/modal-problem/

Operating System

iOs

Device

iPhone 11 Pro Max

Browser & Version

Safari Latest

Steps to reproduce

  1. Click on the blue button
  2. If you're in a phone, you'll see the error. In a computer it works fine!

What is expected?

The modal to open properly

What is actually happening?

The modal should open inside a page. But it opens inside the table freezing the whole screen.


Solution

Remove the table responsiveness solves the problem. So as soon as I realize, it is a problem with this line:

<div class="table-responsive">

Here's a like where the table is not responsive and you can try:

http://ghts.com.br/modal-problem/not-responsive.php

Additional comments

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

No branches or pull requests

1 participant