Git Product home page Git Product logo

react-rich-mentions's People

Contributors

dokoliday avatar muzishell avatar tai-koala avatar vthibault avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-rich-mentions's Issues

Interrupted mention

Hello!

customizeFragment method has the boolean second argument indicating the mention pending state. But a mention is in pending state still if I have not selected any of suggested options and continued to type.

  • I can text "@@@" and the first @ char will be placed into a span tag. It seems, the whole word @@@ should be like a plain text.
  • I can text "@qwerty" and don't select any option (it can have no one suggested option) but it's pending still. I guess the whole word @qwerty should be like a plain text too.

Incorrect element position

When using <Autocomplete fixed={false} /> the library try to calculate the element position but fail if there is a parent with position:relative or position:absolute style.

It should detect the parent and calculate the position based on the relative parent, else the body if there is none.

setValue breaks html return value

Cas effectué sur la branche fix/set-value

Le setValue retourne

<em class="emojione" style="font-size: 19px; line-height: 19px;">😉&nbsp;&nbsp;&nbsp;&nbsp;<em class="emojione" style="font-size: 19px; line-height: 19px;">😉&nbsp;<img src=" images="" emojione="" 2620.png" width="19"  height="19"  class="emojione&nbsp;vaM"  =""></img src="></em class="emojione" style="font-size: 19px; line-height: 19px;"></em class="emojione" style="font-size: 19px; line-height: 19px;">

au lieu de

<em class="emojione" style="font-size: 19px; line-height: 19px;">😉</em>    <em class="emojione" style="font-size: 19px; line-height: 19px;">😉</em> <img src="/images/emojione/2620.png" width="19" height="19" class="emojione vaM" />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.