Open demirwebx opened 3 months ago
I am using the hx-boost feature and I am experiencing strange problems. Javascripts such as dropdown and modal do not work
https://github.com/user-attachments/assets/82160925-1bf8-4774-8fde-a1f164561006
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap demo</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> <script src="https://unpkg.com/htmx.org@2.0.1"></script> </head> <body hx-boost="true"> <ul> <li> <a href="{{ route('admin.index') }}">Home</a> </li> <li> <a href="{{ route('admin.index') }}">Home</a> </li> </ul> <div class="dropdown"> <a class="btn btn-secondary dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"> Dropdown link </a> <ul class="dropdown-menu"> <li><a class="dropdown-item" href="#">Action</a></li> <li><a class="dropdown-item" href="#">Another action</a></li> <li><a class="dropdown-item" href="#">Something else here</a></li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"> </script> </body> </html>
Can you give a reproducible example for this? Using CodePen or JSFiddle?
I am using the hx-boost feature and I am experiencing strange problems. Javascripts such as dropdown and modal do not work
https://github.com/user-attachments/assets/82160925-1bf8-4774-8fde-a1f164561006