Taoh Green
Taoh Green
If you change this to always run in componentDidUpdate the cursor does not jump. Not sure what that would break... https://github.com/signavio/react-mentions/blob/88037190a39306685b1c2718970ce1149bb3cc00/src/MentionsInput.js#L157
@aneeskodappana I ended up duplicating the Mention code into our app with the change I mention above. Not ideal but no issues since.
@yurii-mamchur here is my new MentionsInput.js ```js import React, { Children } from "react"; import { applyChangeToValue, countSuggestions, escapeRegex, findStartOfMentionInPlainText, getEndOfLastMention, getMentions, getPlainText, getSubstringIndex, makeMentionsMarkup, mapPlainTextIndex, readConfigFromChildren, spliceString } from...
Yeah unfortunately It seems my version and the react-mentions repo have diverged a bunch. I'll look into forking and opening a pr with my change and see if it is...
sorry for the unrelated question, but I was curious how are you injecting the props like that?
This would also be very useful when using pr-previews https://github.com/rossjrw/pr-preview-action Every time a new build is deployed it wipes the pr-preview directory so all active previews are killed. This issue...
I switched to JamesIves/github-pages-deploy-action@v4. It has the following options ``` force: false clean: true clean-exclude: pr-preview/ ``` which works perfectly for my use case.
@insin Any updates on this? @ernieyang09 Were you able to find a workaround to this? We would also like multiple entry points for our app.
also not getting removed for me with or without "Run in Terminal"
@moklick Has there been any work on printing? Is there any plan to implement this or a different solution for browser based printing?