Jan-Felix

Results 13 comments of Jan-Felix

Sorry, I'm no longer maintaining this project.

I guess you could by setting styles to make the textarea appear like a regular paragraph. However, I would recommend using a regex to process the value and then render...

First, you can pass your own `onSelect` handler to `MentionsInput` and keep track of the cursor position: ``` console.log(event.target.selectionStart)}> ``` Then, you have to map the cursor position in the...

I advise against a solution relying on `.wrappedInstance` as posted above. Be aware that this is private API we might change in the future. This means your app may break...

So far we consciously avoided having a "mentions mode" because we believe it will make the component significantly more complex. I do see @bdjnk's point and we are happy to...

It should be possible by setting custom styles. See this comment: https://github.com/signavio/react-mentions/issues/226#issuecomment-366652081 It would be nice to have an example for this on our demo page. ;)

> An idea is to perhaps just append the list of mentioned identifiers in the onChange handler. @xtrinch The list of all mentioned items is already passed to the `onChange`...

We do render a `LoadingIndicator` element, which just renders 5 `div`s you can style with CSS to realize a spinner animation. This is not really documented so far, but here's...