Closed ahorowitz123 closed 4 months ago
We should figure out what impact this change is going to have on performance, especially if the new viewer assets are significantly larger than the old ones.
I've found this difficult to test in dev due to the large fluctuations in loading times due to dev infrastructure. I think we'll get a better idea in staging
Can we update the description to explain the external link fix with why it was necessary and how the fix works. It'll be helpful for folks down the road to understand why we did this and to be able to tell if we still need it or not.
box-annotations
code applies a overlapping div over the whole pdf which sets user events to none. This div also has a z index of 0. When you have sibling divs with the same index, the div which is last in the DOM gets precedence. By ensuring that the z index of the annotation layer begins at 1, we can avoid this collision.Comparison of bundle sizes: Previous version
New version