Skip to content

Modal does not obey data-bs-theme #522

@daveclarkit

Description

@daveclarkit

when opening a Modal the header is drawn in light mode even if you have data-bs-theme="dark" set

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project using Bootstrap Blazor
  2. Set data-bs-theme="dark"
  3. Create a Modal
  4. Open Modal
  5. See error

Expected behavior
Should be Dark!.

image

Versions (please complete the following information):

  • BlazorBootstrap: 1.10.5
  • Blazor WebAssembly
  • .NET Version: 8

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: edge
  • Version 122.0.2348.0 (Official build) stable app, dev channel (64-bit)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions