I'm passing a maskedElement which has a LinearGradient on Top and Bottom. They have fixed heights with respect to container. The top has 25% and bottom is 40%.
In the middle, there's a black overlay to show the middle part completely.
Output is as expected, but there's a thin line of <1px that's causing an issue. Attaching the image below:
When I tried debugging, I found that the maskedElement is not respecting the complete height. It's leaving a < 1px gap. Here's what I've used:
Hi there,
I'm passing a
maskedElement
which has a LinearGradient on Top and Bottom. They have fixed heights with respect to container. The top has 25% and bottom is 40%.In the middle, there's a black overlay to show the middle part completely.
Output is as expected, but there's a thin line of <1px that's causing an issue. Attaching the image below:
When I tried debugging, I found that the
maskedElement
is not respecting the complete height. It's leaving a < 1px gap. Here's what I've used:The output for log statements that I get is:
If we add top, mid and bottom, a 0.1 pixel gap will be visible. Which is causing an issue. Can anyone help here ?