VahidN / DNTCaptcha.Blazor

A captcha generator for the Blazor based applications.
Apache License 2.0
33 stars 9 forks source link

Captchas update each other constantly #5

Closed HerzogVolpe closed 1 year ago

HerzogVolpe commented 1 year ago

Summary of the issue

on the example-page, when you spam the captcha refresh-button, the captcha starts to update the other captchas and the other captchas update the first one, looks like they are triggering each other.

Environment

linked example-page on github

DNTCaptcha.Blazor version: linked example-page on github
.NET Core SDK version: linked example-page on github

Example code/Steps to reproduce:

spamm the refresh captcha-button very fast

paste your core code 

linked example-page on github

Output:

permanently updating captcha


this is nothing game breaking, at least not for me, just wanted to let you know :-)
VahidN commented 1 year ago

Probably Blazor calls the state has changed and re-renders the whole page. Don't worry about it.