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

Problem with Modal on theme-coreuiv2 #5665

Closed
helesjunior opened this issue Sep 17, 2024 · 1 comment
Closed

Problem with Modal on theme-coreuiv2 #5665

helesjunior opened this issue Sep 17, 2024 · 1 comment
Labels

Comments

@helesjunior
Copy link

Hey guys,

I'm having a problem using a modal button in coreuiv2. I created the button and when I click it shows the modal, but it blocks the screen and I can't use it.

<!-- 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="exampleModalLongTitle">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">
                ...
            </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

Backpack, Laravel, PHP, DB version

PHP VERSION:

8.3.10

PHP EXTENSIONS:

Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, random, readline, Reflection, session, standard, mysqlnd, tokenizer, zlib, libxml, dom, PDO, openssl,
SimpleXML, xml, xmlreader, xmlwriter, ldap, curl, fileinfo, gd, gettext, gmp, intl, imap, mbstring, mysqli, odbc, Phar, pdo_mysql, PDO_ODBC, pdo_pgsql, pgsql, shmop, sqlsrv, pdo_sqlsrv, soap, sqlite3, xsl, zip, Zend OPcache

LARAVEL VERSION:

11.20.0.0

BACKPACK PACKAGE VERSIONS:

backpack/activity-log: 2.0.4
backpack/basset: 1.3.5
backpack/crud: 6.7.26
backpack/generators: v4.0.5
backpack/permissionmanager: 7.2.1
backpack/pro: 2.2.13
backpack/theme-coreuiv2: 1.2.5

@helesjunior helesjunior changed the title Problem with Modal on Problem with Modal on theme-coreuiv2 Sep 17, 2024
@karandatwani92
Copy link
Contributor

Duplicate of Laravel-Backpack/community-forum#1158 - Closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants