Reactions icon indicating copy to clipboard operation
Reactions copied to clipboard

Overlay views are not getting removed from window

Open rajAppmetry opened this issue 5 years ago • 1 comments

For each and every ReactionButton there will be an "overlay" view and that overlay view is attached to UIApplication window whenever user started to react.

But there is no where you are removing the "overlay" view from window, so because of this if user reacting on 100 cells will lead to create 100 overlay views and it wont get removed from superview even after user came out from that controller.

Steps To Reproduce:

1)Run the example Project
2)Press "View inside Tableview cells"
3)Do reactions in cells
4)Come out from the screen
5)Run the view inspector from your xcode,

You will get similar to this,

Screenshot 2020-02-27 at 4 59 58 PM

I reacted four times, so four overlays + reaction selector got created.

Solution: We can remove the "overlay" view whenever ReactionButton removed from it's superview

rajAppmetry avatar Feb 27 '20 11:02 rajAppmetry

Hi @yannickl did you get time to go through this issue.

rajAppmetry avatar Mar 05 '20 06:03 rajAppmetry