You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm just interested how you see the future of the project @cdmoro ?
Have any interest in removing bootstrap.js? It's constantly giving me problems.
As I said in discord (and nobody replied):
I'm having some trouble with dataApi.. The data-bs-toggle="dropdown" for example. Since BDropdown has this property on the button, it gets triggered multiple times. and sometimes the amount is even so it opens and then closes.
This because I import from bootstrap-vue-3 twice:
import Components from 'bootstrap-vue-3/src/components'
import Directives from 'bootstrap-vue-3/src/directives'
I had custom install that imported those. Both contain bootstrap.js so it ran twice
implementing all the handlers twice... that's why dropdown toggle was always triggered twice.
Are you guys interested in starting to remove the bootstrap.js dependency?
I created a version of dropdown that directly creates the popper.js instance and adds the two classes that the 500 lines of code in bootstrap.js does. some checks and keyboard nav doesn't work, but I don't need them at the moment.
ok, I can't make keynav since bootstrap adds event listeners based on classnames, and we import the whole thing, not individual components...
@cdmoro could me change the imports to individual files so not all the javascript is ran all the time.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I'm just interested how you see the future of the project @cdmoro ?
Have any interest in removing bootstrap.js? It's constantly giving me problems.
As I said in discord (and nobody replied):
Beta Was this translation helpful? Give feedback.
All reactions