8000 feat(BModal): use css var for zindex, add helper vars and ontop class by xvaara · Pull Request #2556 · bootstrap-vue-next/bootstrap-vue-next · GitHub
[go: up one dir, main page]

Skip to content

feat(BModal): use css var for zindex, add helper vars and ontop class #2556

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

Merged
merged 8 commits into from
May 26, 2025

Conversation

xvaara
Copy link
Contributor
@xvaara xvaara commented Feb 14, 2025

closes #2402

Describe the PR

A clear and concise description of what the pull request does.

Small replication

A small replication or video walkthrough can help demonstrate the changes made. This is optional, but can help observe the intended changes. A mentioned issue that contains a replication also works.

PR checklist

What kind of change does this PR introduce? (check at least one)

  • Bugfix 🐛 - fix(...)
  • Feature - feat(...)
  • ARIA accessibility - fix(...)
  • Documentation update - docs(...)
  • Other (please describe)

The PR fulfills these requirements:

  • Pull request title and all commits follow the Conventional Commits convention or has an override in this pull request body This is very important, as the CHANGELOG is generated from these messages, and determines the next version type. Pull requests that do not follow conventional commits or do not have an override will be denied

Summary by CodeRabbit

  • New Features
    • Modal dialogs dynamically adjust stacking positio 8000 n and z-index for improved multi-modal support.
    • New CSS classes and custom properties indicate each modal’s stack order and count for enhanced styling.
    • Documentation example updated to demonstrate support for a fourth nested modal with layered stacking visuals.
  • Bug Fixes
    • Backdrop dismissal is now limited to left mouse button clicks, preventing accidental closures.
  • Style
    • Added CSS variables for modal z-index and toast max-width to simplify customization.

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
pkg-pr-new bot commented Feb 14, 2025

bsvn-vite-ts

npm i https://pkg.pr.new/bootstrap-vue-next/bootstrap-vue-next@2556
npm i https://pkg.pr.new/bootstrap-vue-next/bootstrap-vue-next/@bootstrap-vue-next/nuxt@2556

commit: 23c7ad0

@xvaara
Copy link
Contributor Author
xvaara commented Feb 14, 2025

@xvaara xvaara requested a review from VividLemon February 14, 2025 09:24
@xvaara
Copy link
Contributor Author
xvaara commented Feb 15, 2025

I was thinking about this. We need a few more css variables in the code. Maybe we should import them from bootstrap and add to the :root element in our scss. toast width in toast orchestrator is at least another one.

@VividLemon
Copy link
Member

I was thinking about this. We need a few more css variables in the code. Maybe we should import them from bootstrap and add to the :root element in our scss. toast width in toast orchestrator is at least another one.

Sounds like a good addition

@dwgray
Copy link
Member
dwgray commented Feb 18, 2025

I was thinking about this. We need a few more css variables in the code. Maybe we should import them from bootstrap and add to the :root element in our scss. toast width in toast orchestrator is at least another one.

Sounds like a good addition

That brings up something that I was looking at recently - in our getting started example, we directly import the generated .css files for bootstrap and bsvn. In the equivalent BSV example, the scss is imported. If we want developers to change our scss variables they'd need to import the SCSS. But if this is purely about CSS variables and we are moving to customization that way, we wouldn't. If that's the case, maybe we should be more explicit about moving to CSS variables? A section in the migration guide?

@VividLemon VividLemon requested a review from Copilot March 31, 2025 15:50
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a feature to use a CSS variable for the modal's z-index in the BModal component, adding helper variables and an "ontop" class to manage stacking order.

  • Introduces an "ontop" class in both modal and backdrop elements.
  • Updates the default z-index value by reading the CSS variable "--bs-modal-zindex" on component mount.
  • Enhances computed z-index values with new helper CSS properties "--b-position" and "--b-count".
Comments suppressed due to low confidence (1)

packages/bootstrap-vue-next/src/components/BModal/BModal.vue:19

  • [nitpick] Consider renaming the 'ontop' class to a more descriptive name such as 'modal-ontop' to improve clarity.
ontop: (activeModalCount ?? 0) - 1 === (activePosition ?? 0),

Copy link
coderabbitai bot commented May 22, 2025

"""

Walkthrough

The changes introduce a reactive approach to managing the z-index and stacking context for the modal component. Modal and backdrop elements now reflect their stack position via dynamic CSS classes and variables. The default z-index is determined at runtime using a new utility function that reads from a CSS variable, and backdrop click handling is restricted to left mouse button events.

Changes

File(s) Change Summary
packages/bootstrap-vue-next/src/components/BModal/BModal.vue Refactored modal to use a reactive z-index via a new computed property, added dynamic stack-related CSS classes and custom properties, restricted backdrop closing to left mouse button, and integrated a watcher to update z-index on mount and render.
packages/bootstrap-vue-next/src/styles/styles.scss Added :root CSS variables for --bs-modal-zindex and --bs-toast-max-width to expose SCSS variables as CSS custom properties.
packages/bootstrap-vue-next/src/utils/dom.ts Introduced getModalZIndex, a utility function to retrieve and parse the modal z-index from a CSS variable, defaulting to 1055 if not set.
apps/docs/src/docs/components/modal.md Added support for a fourth nested modal with reactive visibility control and updated styles for stacking multiple modals with translation and opacity effects using CSS variables.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant BModal
    participant ModalManager
    participant DOMUtils

    User->>BModal: Open Modal
    BModal->>ModalManager: Get activePosition, activeModalCount
    BModal->>DOMUtils: getModalZIndex(element)
    DOMUtils-->>BModal: Return z-index value
    BModal->>BModal: Compute sharedClasses and CSS vars
    User->>BModal: Mousedown on backdrop (left button)
    BModal->>BModal: Handle close if left button
Loading

Assessment against linked issues

Objective Addressed Explanation
Add option to set the default or starting z-index for components via CSS variable (#2402)

Possibly related PRs

Poem

A modal hops into the stack,
With z-index now watching its back.
CSS vars in the root,
Make conflicts less acute.
Left-clicks close with a tap-tap-tap—
Oh, what a clever rabbit trap!
🐇✨
"""


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0b25eb8 and 23c7ad0.

📒 Files selected for processing (1)
  • apps/docs/src/docs/components/modal.md (3 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/docs/src/docs/components/modal.md
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the 8000 bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (3)
packages/bootstrap-vue-next/src/styles/styles.scss (1)

71-75: Expose-to-root is handy, but mind the global namespace & theming story

Placing --bs-modal-zindex and --bs-toast-max-width on :root makes them globally mutable (👍), yet:

  1. Bootstrap 5 already defines a handful of --bs-… vars in component scopes. Putting ours at :root risks accidental clashes/overrides coming from upstream versions or user stylesheets.
  2. Apps that ship multiple themes (dark/light) often rely on @media (prefers-color-scheme) or theme-specific classes. Consider scoping the declaration inside a theme selector or at least documenting that overriding must happen after this rule.
  3. If the SCSS variables $zindex-modal or $toast-max-width are ever customised per-theme, emitting them once at root will freeze the first encountered value.

You might prefer:

:root,
[data-bv-theme='default'] {
  --bv-modal-zindex: #{$zindex-modal}; // avoid collision by changing prefix
  --bv-toast-max-width: #{$toast-max-width};
}

(or similar) and update the consuming code accordingly.

packages/bootstrap-vue-next/src/components/BModal/BModal.vue (2)

377-381: Minor ordering concern: computed uses refs declared later

sharedClasses captures activePosition / activeModalCount before they are declared (they’re introduced a few lines below). Because the getter runs lazily this won’t throw, but it can surprise future maintainers. Moving the useModalManager call above this computed—or grouping related declarations—improves readability.


396-410: watch() inside onMounted() is safe but needlessly nested

The watch only depends on renderRef and element, both mounted-only values, so nesting works—but you can register it once at module scope and check element.value inside the callback, which avoids an extra closure:

-watch(
-  renderRef,
-  (v) => {
-    if (!v) return
-    nextTick(() => {
-      if (!element.value) return
-      defaultModalDialogZIndex.value = getModalZIndex(element.value)
-    })
-  },
-  {immediate: true}
-)
+watch(
+  renderRef,
+  async (v) => {
+    if (!v) return
+    await nextTick()
+    if (element.value)
+      defaultModalDialogZIndex.value = getModalZIndex(element.value)
+  },
+  {immediate: true}
+)

Eliminates the onMounted wrapper and keeps reactivity setup in one place.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 43ef54d and f130e79.

📒 Files selected for processing (3)
  • packages/bootstrap-vue-next/src/components/BModal/BModal.vue (8 hunks)
  • packages/bootstrap-vue-next/src/styles/styles.scss (1 hunks)
  • packages/bootstrap-vue-next/src/utils/dom.ts (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build
🔇 Additional comments (1)
packages/bootstrap-vue-next/src/components/BModal/BModal.vue (1)

28-29:

❓ Verification inconclusive

@mousedown.left may not fire on touch devices—validate UX

Limiting the backdrop handler to the left mouse button is sensible for desktop right-click menus, but touchscreens dispatch pointerdown/touchstart, not mousedown. The previous .self handler incidentally worked everywhere; the new filter might stop modals from closing on tap.

Please verify on mobile:

If touch support regresses, consider:

@pointerdown.self="hide('backdrop')"

or keeping .self only.


🏁 Script executed:

# quick grep to see if any other components rely on .left.mousedown
rg "@mousedown\.left" -n

Length of output: 138


Ensure backdrop taps close modal on touch devices

We’ve confirmed that the only occurrence of @mousedown.left.self is in
packages/bootstrap-vue-next/src/components/BModal/BModal.vue (line 28). On touchscreens, mousedown may not fire (touch events trigger pointerdown/touchstart instead), so tapping the backdrop could stop closing the modal.

Possible approaches:
• Replace with pointer events:

@pointerdown.self="hide('backdrop')"

(this covers mouse, pen, and touch)
• Drop the .left filter if you prefer sticking with mousedown:

@mousedown.self="hide('backdrop')"

• Or use click events, which generally fire on both mouse and touch:

@click.self="hide('backdrop')"

Please verify behavior on a mobile device or touch-enabled emulator to ensure taps still close the modal.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
packages/bootstrap-vue-next/src/utils/dom.ts (1)

72-75: Consider simplifying the multi-line method chain.

The static analysis tool suggests condensing the chained method calls into a single line for better readability.

-  const raw    = window
-    .getComputedStyle(target)
-    .getPropertyValue('--bs-modal-zindex')
-    .trim()
+  const raw = window.getComputedStyle(target).getPropertyValue('--bs-modal-zindex').trim()
🧰 Tools
🪛 GitHub Check: test-lint

[warning] 72-72:
Replace ···=·window⏎····.getComputedStyle(target)⏎····.getPropertyValue('--bs-modal-zindex')⏎···· with =·window.getComputedStyle(target).getPropertyValue('--bs-modal-zindex')

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f130e79 and 002742b.

📒 Files selected for processing (1)
  • packages/bootstrap-vue-next/src/utils/dom.ts (1 hunks)
🧰 Additional context used
🪛 GitHub Check: test-lint
packages/bootstrap-vue-next/src/utils/dom.ts

[warning] 72-72:
Replace ···=·window⏎····.getComputedStyle(target)⏎····.getPropertyValue('--bs-modal-zindex')⏎···· with =·window.getComputedStyle(target).getPropertyValue('--bs-modal-zindex')

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build
🔇 Additional comments (1)
packages/bootstrap-vue-next/src/utils/dom.ts (1)

70-79: Great implementation of the z-index utility function!

The function correctly implements the fetching of the CSS variable --bs-modal-zindex with proper fallback handling. I appreciate the robust implementation that:

  • Accepts optional/nullable elements
  • Uses document.body as a fallback
  • Trims the string value to avoid whitespace issues
  • Properly handles parsing errors with Number.isFinite
  • Provides a sensible default (1055) when needed

This implementation fully addresses the previous feedback and will support the modal's reactive z-index functionality nicely.

🧰 Tools
🪛 GitHub Check: test-lint

[warning] 72-72:
Replace ···=·window⏎····.getComputedStyle(target)⏎····.getPropertyValue('--bs-modal-zindex')⏎···· with =·window.getComputedStyle(target).getPropertyValue('--bs-modal-zindex')

@xvaara xvaara requested a review from Copilot May 22, 2025 20:56
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a CSS custom property for modal z-index and helper variables & classes for modal stacking.

  • Adds a utility (getModalZIndex) to read --bs-modal-zindex with a fallback.
  • Defines --bs-modal-zindex and --bs-toast-max-width on :root.
  • Updates BModal to apply CSS vars, generate stacking classes, and restrict backdrop dismissal to left clicks.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
packages/bootstrap-vue-next/src/utils/dom.ts Added getModalZIndex to read CSS var or default to 1055.
packages/bootstrap-vue-next/src/styles/styles.scss Defined root-level --bs-modal-zindex and --bs-toast-max-width.
packages/bootstrap-vue-next/src/components/BModal/BModal.vue Switched to CSS var for z-index, added stacking classes, and updated event modifiers.
Comments suppressed due to low confidence (2)

packages/bootstrap-vue-next/src/components/BModal/BModal.vue:122

  • To fully restrict backdrop dismissal to left mouse clicks, add the .left modifier to the click handler, e.g., @click.left.self="hide('backdrop')".
@click="hide('backdrop')"

packages/bootstrap-vue-next/src/utils/dom.ts:70

  • Add unit tests for getModalZIndex to cover scenarios where the CSS variable is present, missing, and invalid to ensure correct fallback behavior.
export const getModalZIndex = (element?: Readonly<HTMLElement | null>): number => {

@@ -66,3 +66,11 @@ export const sortSlotElementsByPosition = (
if (position & Node.DOCUMENT_POSITION_PRECEDING) return 1
return 0
}

Copy link
Preview
Copilot AI May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider adding a JSDoc comment to explain the purpose, parameters, return value, and fallback behavior of getModalZIndex.

Suggested change
/**
* Retrieves the z-index value for a modal from the `--bs-modal-zindex` CSS variable.
*
* @param {Readonly<HTMLElement | null>} [element] - The target element to retrieve the z-index from. Defaults to `document.body` if not provided.
* @returns {number} The z-index value. Returns 1055 as a fallback if `window` is undefined or the CSS variable is not parsable.
*/

Copilot uses AI. Check for mistakes.

Comment on lines +426 to +434
'--b-position': activePosition?.value ?? 0,
'--b-inverse-position': (activeModalCount?.value ?? 1) - 1 - (activePosition?.value ?? 0),
'--b-count': activeModalCount?.value ?? 0,
}))
const computedZIndexBackdrop = computed<CSSProperties>(() => ({
'z-index': computedZIndexNumber.value - 1,
'--b-position': activePosition?.value ?? 0,
'--b-inverse-position': (activeModalCount?.value ?? 1) - 1 - (activePosition?.value ?? 0),
'--b-count': activeModalCount?.value ?? 0,
Copy link A3E2
Preview
Copilot AI May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider extracting CSS custom property names (e.g. --b-position, --b-inverse-position, --b-count) into constants to avoid typos and keep CSS/JS in sync.

Suggested change
'--b-position': activePosition?.value ?? 0,
'--b-inverse-position': (activeModalCount?.value ?? 1) - 1 - (activePosition?.value ?? 0),
'--b-count': activeModalCount?.value ?? 0,
}))
const computedZIndexBackdrop = computed<CSSProperties>(() => ({
'z-index': computedZIndexNumber.value - 1,
'--b-position': activePosition?.value ?? 0,
'--b-inverse-position': (activeModalCount?.value ?? 1) - 1 - (activePosition?.value ?? 0),
'--b-count': activeModalCount?.value ?? 0,
[CSS_VAR_POSITION]: activePosition?.value ?? 0,
[CSS_VAR_INVERSE_POSITION]: (activeModalCount?.value ?? 1) - 1 - (activePosition?.value ?? 0),
[CSS_VAR_COUNT]: activeModalCount?.value ?? 0,
}))
const computedZIndexBackdrop = computed<CSSProperties>(() => ({
'z-index': computedZIndexNumber.value - 1,
[CSS_VAR_POSITION]: activePosition?.value ?? 0,
[CSS_VAR_INVERSE_POSITION]: (activeModalCount?.value ?? 1) - 1 - (activePosition?.value ?? 0),
[CSS_VAR_COUNT]: activeModalCount?.value ?? 0,

Copilot uses AI. Check for mistakes.

const defaultModalDialogZIndex = 1056
const defaultModalDialogZIndex = ref(getModalZIndex(element.value ?? document.body))

onMounted(() => {
Copy link
Preview
Copilot AI May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The watcher on renderRef triggers a recalculation of the z-index on every render. Consider limiting the watch to CSS variable changes or debouncing to avoid unnecessary getComputedStyle calls.

Copilot uses AI. Check for mistakes.

Copy link
@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (3)
apps/docs/src/docs/components/modal.md (3)

177-181: Fix typo and suggest showcasing the new ontop class

The button label reads “Open Fouth Modal” but should be “Open Fourth Modal” to avoid confusion.
Additionally, since this PR introduces an ontop CSS class for BModal, consider adding a small example here to demonstrate how to use <BModal ontop …> to keep a modal above the rest.


200-203: Fix typo in the HTML snippet

The live-code snippet still says “Open Fouth Modal”. Please correct it to “Open Fourth Modal” so the example matches the intended label.


274-290: Scope the injected styles to this page/component

The <style> block at the bottom will apply globally to all .modal selectors. To prevent unintended styling elsewhere in the docs, add scoped (or an equivalent selector) to limit its effect.

Example:

- <style>
+ <style scoped>
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b372824 and 0b25eb8.

📒 Files selected for processing (2)
  • apps/docs/src/docs/components/modal.md (3 hunks)
  • packages/bootstrap-vue-next/src/utils/dom.ts (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/bootstrap-vue-next/src/utils/dom.ts
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build
🔇 Additional comments (1)
apps/docs/src/docs/components/modal.md (1)

271-271: State is wired up correctly

The new const nestedModal4 = ref(false) properly adds reactive state for the fourth modal. This aligns with the updated HTML examples and will correctly drive visibility.

@xvaara xvaara merged commit 98eecae into main May 26, 2025
5 checks passed
@github-actions github-actions bot mentioned this pull request May 24, 2025
xvaara added a commit to xvaara/bootstrap-vue-next that referenced this pull request May 26, 2025
* upstream/main:
  chore: remove blur from boverlay in cases where its not allowed by br… (bootstrap-vue-next#2712)
  feat(BTableLite): add `table-colgroup` slot (bootstrap-vue-next#2680)
  perf: use getter functions over computed in some cases
  feat(BModal): use css var for zindex, add helper vars and ontop class (bootstrap-vue-next#2556)
  feat(BFormTags): added feedbackAriaLive prop  (bootstrap-vue-next#2696)
  fix(scss) moved all scss styles out of components (bootstrap-vue-next#2671)
  fix(BModal): ensure clicking inside and releasing outside does not close modal (bootstrap-vue-next#2703) (bootstrap-vue-next#2704)
  fix(BToast): race condition if using setInterval to update countdown
  doc data
  feat(BPopover): add titleClass and bodyClass, remove unneeded customClass prop since class is inherited to the same place
  feat(BToast): add noProgress prop, make progress show as default if modelValue is number. fix(useToastController): if using the deprecated show method the countdown didn't start.
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

Successfully merging this pull request may close these issues.

Add option to set the default or starting z-index for components
3 participants
0