Skip to content

bottomSheetContentContainer background couldn't be changed #3305

@vicovictor

Description

@vicovictor

Issue

In

, the { backgroundColor: white } cannot be overwritten by bottomSheetContentContainer, despite setting it in a custom theme file.

Steps to reproduce

I had already put the custom theme file here: <OverlayProvider value={{ style: chatTheme() }}>.

Custom theme has the following:

attachmentPicker: {
    bottomSheetContentContainer: {
        backgroundColor: 'red',
    },
},

Expected behavior

The bottomSheetContentContainer should have a red background, but it has a white background instead.

Project Related Information

Customization

Click To Expand

# N/A

Offline support

  • I have enabled offline support.
  • The feature I'm having does not occur when offline support is disabled. (stripe out if not applicable)

Environment

Click To Expand

package.json:

# N/A

react-native info output:

 OUTPUT GOES HERE
  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both
  • stream-chat-react-native version you're using that has this issue:
    • e.g. 5.4.3
  • Device/Emulator info:
    • I am using a physical device
    • OS version: e.g. Android 10
    • Device/Emulator: e.g. iPhone 11

Additional context

Screenshots

Click To Expand


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions