GetMetaMap / metamap-reactnative-plugin

Metamap React Native SDK
9 stars 14 forks source link

[Bug] iOS RGBA color alpha (transparency) not working on button color #51

Closed bombillazo closed 2 years ago

bombillazo commented 2 years ago

The alpha values in iOS button color are not working so transparency is not possible. Tert color:

const metadata = {
  buttonColor: '#AAAAAA11', //RRGGBBAA
};

Current:

image

Expected:

image
AvoSukiasyan commented 2 years ago

Hi @bombillazo. I tested iOS many times and couldn't reproduce this case. for me the alpha of the button shows as expected. can you tell me the details please ? .maybe I did something different than you.

 const metadata = {
            buttonColor: '#AAAAAA11',
            buttonTextColor: '#FF1111',
          };
Screen Shot 2022-04-28 at 12 33 21
bombillazo commented 2 years ago

Hello @AvoSukiasyan , after setting the text color, I can no longer replicate the issue. Must be a very weird edge case. With text color set, it works as expected.