Edge doesnt display img within an <a>

Raj. S 1 Reputation point
2021-08-03T06:18:26.627+00:00

I am a developer and I found this issue in Edge. Any img tag that is within an anchor (<a>) tag goes off screen. On inspection it looks like after the onreadystatechange event the browser is assigning the following css values,
left:-10000px; position:absolute !important; For example the logo portion of a Bootstrap Navbar.

I use browser detection to detect Edge and provide the img tag with onclick event. This is a messy solution. Please advise asap.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,160 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Reza-Ameri 16,836 Reputation points
    2021-08-03T16:47:51.4+00:00

    Make sure report this issue using the Feedback option.
    In case, there is public website, then make sure share the URL and if not, you may share a code sample or example , so the Microsoft Edge team would be able to reproduce it.
    In case, you are not sure how to share a feedback, take a look at:
    https://answers.microsoft.com/en-us/microsoftedge/forum/all/how-to-report-a-feedbackbug-to-microsoft-edges/20cc8eb5-11bb-43b6-95d1-e004d41ef876

    0 comments No comments