question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't remove message using "myMessages.removeMessage(message);"

See original GitHub issue

This 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):

screen shot 2017-06-08 at 18 23 22

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:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
peterelcommented, Jun 19, 2017

@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

1reaction
peterelcommented, Jun 16, 2017

@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 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't delete text messages in iOS 16.0.2 - Apple Community
In messages got to Edit>Show Recently Deleted. Find the person you want to delete, select them and hit "delete". Go back to your...
Read more >
Remove or unsend a message on Messenger - Facebook
You can permanently unsend a message that you've sent or just hide a message from your view. If you select Unsend for You,...
Read more >
New Messenger Feature Gives You Ability to Remove ...
Simply tap on the message you want to remove and select the option to “Remove for Everyone”. The removed message will be replaced...
Read more >
Why can't I delete one person's message on Messenger?
Tap and hold the person whose conversation you want to delete then choose the garbage can that pops up. It's the delete option....
Read more >
Unable to delete text messages on Samsung phone
Verify your carrier service status. · Inspect the device. · Inspect the SIM card. · Contact your carrier. · Unregister from iMessage.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found