I've encountered styling issues while using the utility function to display notifications. Specifically, I noticed unexpected behavior regarding border colors.
Current behaviour
In the code example, observe the defaultToastStyle variable. I set the borderColor, intending to apply it to all sides, and then attempted to specify a different color for the left border using borderLeftColor. However, the left border color does not override the borderColor as expected.
Expected behaviour
I anticipated seeing gray border colors on all sides except for the left border, which should be other.
While individually specifying colors for each border (borderLeftColor, borderRightColor, borderTopColor, borderBottomColor) works correctly, using borderColor followed by modifying a specific border color does not produce the expected result.
I've encountered styling issues while using the utility function to display notifications. Specifically, I noticed unexpected behavior regarding border colors.
Current behaviour
In the code example, observe the defaultToastStyle variable. I set the borderColor, intending to apply it to all sides, and then attempted to specify a different color for the left border using borderLeftColor. However, the left border color does not override the borderColor as expected.
Expected behaviour
I anticipated seeing gray border colors on all sides except for the left border, which should be other.
Code sample
Screenshots (if applicable)
This is the bug:
This is the expected result:
What have you tried
While individually specifying colors for each border (borderLeftColor, borderRightColor, borderTopColor, borderBottomColor) works correctly, using borderColor followed by modifying a specific border color does not produce the expected result.
I have also tried to do something like:
Your Environment