Skip to content

bunit - blazor with modal from bootstrap / jquery #443

Answered by egil
bikmis asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bikmis

bUnit runs entirely in C#, so any JavaScript you have in your components are not executed, so if you change the DOM through JavaScript/jQuery, then it will not be visible with bUnit.

Ps. Modifying the DOM through JavaScript in a Blazor app is generally not recommended, as it might conflict with how Blazor works.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bikmis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #441 on June 28, 2021 09:03.