Can't remove message using "myMessages.removeMessage(message);"
See original GitHub issueThis is a (multiple allowed):
-
bug
-
Framework7 Version: Framework7 1.5.0, Released on: November 8, 2016
-
Platform and Target: Web
-
Live Link or JSFiddle/Codepen (IMAGE ADDED):
What you did
Using e.g.
myMessages.removeMessage(".message-first");
deletes all messages. I want to delete the last message but cant distinguish between them all except for all sent and all received.
Expected Behavior
I expect to have a difference between the messages to pinpoint what message to delete. Otherwise, how would the .removeMessage actually work.
Actual Behavior
All or no messages are deleted.
– What I want to create is a “I am writing message” as you get in iOS at least (with a “bouncing” dotdotdot “…”). This message is then deleted before the actual message has reached the client. Adding a “…” is no problem, making it “bounce” I may be able to figure out somehow but any tips are more than welcome, removing that specific message is what I primarily need help with here.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top GitHub Comments
@shevcenko9 Ive also posted this on SO and got below response a while back. Its a workaround which I didnt get to work unfortunately. Maybe it helps you?
https://stackoverflow.com/questions/44441172/remove-message-framework7
@shevcenko9 Nope, Ive not hear of anything about this nor have I gotten it solved. Still waiting to hear if this is bug or if I simply doing something else wrong.
You are very welcome to also let me know if you figure this out 😃