I've following code running succesfully in production since last 3-4 years. (Vue.js)
<object :data="pdfUrl"
type="application/pdf"
width="100%" height="100%"
style="min-height: 700px">
</object>
On clicking a button the modal window opens and displays PDF. However after latest chrome update Version 76.0.3809.132 (Official Build) (64-bit)
it is no longer showing the PDF in the modal but downloading instead.
I've tried different options with <embed>
and <iframe>
options but in all cases it just downloads showing empty modal window. Also installed Adobe Chrome Extension without any luck.