datt1994 / dptagtextview Goto Github PK
View Code? Open in Web Editor NEWAdd & detect Tag/mention and tag search for Textview.
License: Apache License 2.0
Add & detect Tag/mention and tag search for Textview.
License: Apache License 2.0
step 1 - open keyboard
step 2 - tap on suggested words
step 3 - tap on send button and clear textview text
step 4 - type new word --> crash
Crash At:
for rag in arrRange.reversed() {
newString.insert(contentsOf: tagPostfix, at: rag.upperBound) // Crash line
newString.insert(contentsOf: tagPrefix, at: rag.lowerBound)
}
Step 1 = Type some words in TextView like 10-12 lines
Step 2 = now add/edit some text in top/middle in textView
step 3 = when you will type new words in each word textview scroll to bottom
@Datt1994
if use name contain
"🌹🖲🔸Datt Patel
then Tag is not created properly
@Datt1994
Text view get's active only on double tab, any possible to fix it. How to perform action without setting setTagDetection(_ isTagDetection : Bool) to true.
Like I can perform action while typing in textview
Hi, I found this library very useful for my posting feed feature in my app, But there are 2-3 issues in this library.
Screen Recording 2022-03-28 at 12.05.48 AM.mov.zip
Please check the video zip file of crash, and also video will help you to create this crash.
When keyboard appears and keyboard shows its suggestions on the top of the keyboard when user tap on suggestion then textview shows word 2 times
Tag not working with emoji and app crash.
When textview have autocapitalizationType is sentences in that case word start with a double capital letter like this @hello HOw ARe YOu
Step 1 - type some text and press space
step 2 - press @ then auto suggestion keyword will appear - choose any auto suggestion keyword
step 3 - press @ then choose any mention user from UITableview
UITextview will have wrong text and wrong position of current mention user
@Datt1994 can you please check this.
or is there any way to tern off autosuggestion when list of user appear and then tern on auto suggestion when UITableView hide
@Datt1994
Searching user is not working.
@Datt1994 is there a way to delete the whole tag at once
Awesome work on the pod. is there a way to get spaces with in search string ex:- "Date " words after a space won't get added to the search term. seems this happens due match data function and is there a way to delete whole tag. Thanks in advance @Datt1994
to tag anyone write @ and then move the cursor before @ and app going to crash.
For example we write as
Hello How are you @
& then we move the cursor left side then app is crashed.
tags become untag(simple text) if we insert emojis in UITextView -Start - Middle
@Datt1994
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.