Hello Rjeyabalaji12,
Thank you for posting in Q&A forum.
It's possible that the behavior you're observing is due to changes in how the Microsoft Edge browser interprets your application code in different environments or versions. With major OS updates, there can sometimes be subtle changes or updates in the browser's rendering engine and JavaScript engine which could affect how certain code is executed.
Here are a few steps to troubleshoot the issue:
1.Check Edge Version:
Ensure that the version of Microsoft Edge you were using on Windows 10 is the same version you're using on Windows 11. Browser updates can sometimes introduce changes that affect how JavaScript or HTML is processed.
2.JavaScript Console Errors:
Open the Developer Tools in Microsoft Edge (F12), go to the Console tab, and check for any JavaScript errors or warnings that might indicate why the button is not behaving as expected.
3.Isolate the Problem:
Create a minimal example that reproduces the issue. If the button works in isolation but not in the actual application, it could be an interaction between different parts of your code.
You can also check if the problem occurs on a newly installed Win 11 machine with the same OS as the upgraded one.
4.Cross-Browser Testing:
Test the application on other browsers (e.g., Chrome, Firefox) on Windows 11 to see if the issue persists. This might help determine whether the issue is specific to Edge.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.