How to Solve OffsetParent is not set error

Problem Description: tab switching, when using the PDF preview of the uploaded file, an error is reported,

solution: because of the tab switching here, the PDF component has a process of displaying and hiding, so this error occurs. Use V-IF control to re render when the tab is switched to this item

Read More: