-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Modal window does not work (v0.18.0) #702
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
Comments
Are you importing the full bootstrap-vue library or just individual components? Also what bundler/rollup are you using? Similar issue #515, dealing with CSS not being loaded correctly. Some bundlers do not handle the scoped CSS correctly. |
THe current documentation site is running with v0.18.0, and modals are working fine there: https://bootstrap-vue.js.org/docs/components/modal |
I dug into the dist last week, and I saw the scoped css being generated ( |
Please forgive me for my lack of real information, this is all quite new to me so I will do my best to answer questions. I believe I am importing the entire bootstrap-vue library.
The project is being put together using webpack. I'm fairly unfamiliar with it and its configuration has mostly been from a vue.js scaffold. Taking a stab in the dark, i'd say i'm using css-loader. I've tried adding the style specifically to the project (index.html after loading all other styles):
I'm happy to provide code samples but am not entirely sure what might be useful. I'll keep trying to make some sense of the build process. Thanks for the help! |
Was a mistake on my part, I wasn't including the bootstrap-vue.css file correctly. Thanks for all the help, closing the issue. |
Hi,I have similar problem.I use webpack-3.5.6 to manage those lib i use include the bootstrap-vue. |
@amigoge what version or Bootstrap-Vue are you using? v1.0.0.beta.7? or the alpha version 0.23.0? I am unsure where you are seeing |
@tmorehouse thanks for rely. |
Could you provide a sample of your code? Are you including jQuery in your project (it is not needed). We don't have any code that calls |
@tmorehouse |
Based on your code, you are generating the modal by hand (as plain HTML). https://github.com/amigoge/test-merchants/blob/master/views/index.ejs You need to render your modal using the All Bootstrap-Vue components are VueJS components. BootstrapVue cannot control manually generated HTML components. |
@tmorehouse I should read the doc first,thanks!! |
RE the closed issue: #276
I have recently discovered this is still an issue with bootstrap-vue V0.18.0. The grey overlay is present, but modal itself is not. My project makes use of bootstrap.scss for bootstrap styling. Can confirm
.modal { display: block; }
works around the problem.The text was updated successfully, but these errors were encountered: