At some point the browser vendors started addressing that, and things got better.
But I think the other part of Flash is the tools used to create it - I never understood why they didn't port those to HTML5 and worked with the browser vendors to get kinks ironed out, instead of doubling down on - what was the name - Adobe Air? I think they still had some market power they could have wielded.