fix: Event callback does not trigger for Switch, Checkbox and Radio controls when deployed to Azure Container Apps along with Application Gateway #3599
Labels
triage
New issue. Needs to be looked at
🐛 Bug Report
We have a server side Blazor web app that we deploy to Azure Container Apps (ACA) behind Azure Application Gateway (AGW). We have noticed that the
Checkbox
,Switch
, andRadio
controls do not trigger the event callback when they change.💻 Repro or Code Sample
and add a test callback handler:
Filtered applied
after flipping the switch.🤔 Expected Behavior
The behavior should be akin the local behavior, we should be able to see the effects of calling
OnFilterChanged
.😯 Current Behavior
The call back does not get invoked for neither Switch, Checkbox, Radio controls.
💁 Workaround
We reviewed the code of the switch and it does not use the checkbox HTML control but it is an SVG image. Our workaround was to create a FluentUI looking switch like this (with CSS + JS to have the same look and feel):
🔦 Context
We rather not use the workaround that I described above. Given that these are basic controls, we expect them to be reliable regardless of the environment.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: