How to resolve overflow property which does not working in some devices,browser

Use Vendor Prefixes: Some older versions of iOS may require vendor prefixes for certain CSS properties. Make sure you have included appropriate prefixes. For example, use-webkit-overflow-scrollingfor scrolling elements

-webkit-overflow-scrolling: touch;

Use Hardware Acceleration: To improve performance and reduce potential issues, you can try using hardware acceleration by applying

transform: translate3d(0,0,0);

to the element with theoverflowproperty

.your-element {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate3d(0, 0, 0);
}

Leave a comment

Your email address will not be published. Required fields are marked *