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

A search box does not work within a modal. #85

Open
Spinkers opened this issue Jul 24, 2019 · 1 comment
Open

A search box does not work within a modal. #85

Spinkers opened this issue Jul 24, 2019 · 1 comment

Comments

@Spinkers
Copy link

Spinkers commented Jul 24, 2019

When the component is initialized in body, it works perfectly, but when it is placed in a bootstrap modal, the search box is simply not clickable.

<!-- Button trigger modal -->
  <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter">
    Launch demo modal
  </button>
  
  <!-- Modal -->
  <div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
        </div>
        <div class="modal-body">
          <!-- Button tag -->
          <button class="btn btn-secondary" role="iconpicker"></button>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
          <button type="button" class="btn btn-primary">Save changes</button>
        </div>
      </div>
    </div>
  </div>

Image: https://imgur.com/dceqX3V

@Rhapsody-Sky
Copy link

Rhapsody-Sky commented Aug 30, 2019

gafitescu found a solution to this here: #23 (comment)

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

2 participants