react-bell-chat | : bell : Easy to use chat user interface for React | Chat library

 by   PeterKottas TypeScript Version: 1.0.53 License: MIT

kandi X-RAY | react-bell-chat Summary

kandi X-RAY | react-bell-chat Summary

react-bell-chat is a TypeScript library typically used in Messaging, Chat, Angular, React applications. react-bell-chat has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

:bell: Easy to use chat user interface for React
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-bell-chat has a low active ecosystem.
              It has 44 star(s) with 8 fork(s). There are 2 watchers for this library.
              There were 2 major release(s) in the last 12 months.
              react-bell-chat has no issues reported. There are 11 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-bell-chat is 1.0.53

            kandi-Quality Quality

              react-bell-chat has no bugs reported.

            kandi-Security Security

              react-bell-chat has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              react-bell-chat is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              react-bell-chat releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-bell-chat
            Get all kandi verified functions for this library.

            react-bell-chat Key Features

            No Key Features are available at this moment for react-bell-chat.

            react-bell-chat Examples and Code Snippets

            No Code Snippets are available at this moment for react-bell-chat.

            Community Discussions

            Trending Discussions on react-bell-chat

            QUESTION

            Chat like scroll behaviour (ReactJs)
            Asked 2018-May-05 at 18:07

            I am trying to implement a chat application, more precisely a scroll behavior for chat application. I think it's best described with a gif. https://i.imgur.com/NnpMeOx.gif As you can see, I want to support a few key features:

            1. Scrolling is reversed so on page load, the messages start on the bottom along with the scrollbar
            2. Chat is scrolled to the bottom when user types in a message. (this is easy, no need to pay attention to this part)
            3. If new messages appears (pushed by websocket in real life) it shouldn't disrupt the existing scroll position, unless it's already at the bottom. Then it should scroll to reveal the message automatically.

            So far I've implemented 2 solutions:

            a) Display flex and flex-direction column-reverse on the scrollable element. This works beautifully out of a box, but only on chrome :( IE (and Edge) as well as firefox just ignores this totally. NOT A GOOD SOLUTION

            b) I flipped the container with transform: scaleY(-1) then I reversed the messages and fliped every one of those with the same transform. The main obvious problem here is the scroll (mouse wheel and arrows) is reversed. I sort of fixed it, didn't manage smooth scroll (sucks) but yet again, Edge (and probably IE) just shows scrollbar as disabled. NOT A GOOD SOLUTION

            I am really hoping to find somebody who can point me in the right direction because so far, my efforts while logically ok totally failed browser compatibility.

            The code is on https://github.com/PeterKottas/react-bell-chat, it's react but tbh, that doesn't matter much as this seems more like a general web dev exercise.

            P.S.: I can't use jQuery, hope that's fair. So either css or plain javascript. Like I've said, this doesn't have much to do with react

            ...

            ANSWER

            Answered 2018-May-04 at 21:51

            Well I got no replies and managed to fix it myself so I'll accept this in case it helps somebody in the future.

            3rd and final solution: I kept the direction of scrolling and didn't do any reversing at all. Instead I hooked into onScroll and wheel event, created a few callbacks and managed to mimic the behavior perfectly. You can find more details in the code on https://github.com/PeterKottas/react-bell-chat.

            Source https://stackoverflow.com/questions/50155810

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install react-bell-chat

            You can download it from GitHub.

            Support

            Contributions are always welcomed and encouraged.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i react-bell-chat

          • CLONE
          • HTTPS

            https://github.com/PeterKottas/react-bell-chat.git

          • CLI

            gh repo clone PeterKottas/react-bell-chat

          • sshUrl

            git@github.com:PeterKottas/react-bell-chat.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link