Skip to content

MessageList scroll doesn't work on mobile #159

@Anjum48

Description

@Anjum48

I've having trouble with <MessageList> not scrolling on mobile/touch screen. In a browser, with a mobile device selected I can scroll with a mouse wheel, but the click & drag doesn't work.

I've tracked the issue down to touch-action: none in CSS which I can't seem to override, since it is set in an element that is created inside MessageList (scrollbar-container cs-message-list__scroll-wrapper ps).

Searching for touch-action finds this README from 4 years ago which mentions this was added to fix some strange behaviour: https://github.com/chatscope/chat-ui-kit-react/blob/master/src/components/Scroll/README.md

Which I think refers to this:

Any ideas on how I can set this to auto?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions