Closed Andreasgejlm closed 3 years ago
Hi! I don't think there would be a simple way of detecting tab bars, specially because I don't think making the card higher would be a great design choice. Instead, I would suggest adding making the card to a "toast" view, or anything that comes over the TabView in your hierarchy... who knows, maybe I could even implement it to the library itself...
@Andreasgejlm okay so I know it's late but!!!! I think I fixed this
fixed in 2.0.0 :) sorry for being so late, but I finally did it!
I'm still having trouble getting it in front of the tab bar. Would really appreciate a small example with v2.0.0 :)
hey @sidkamaria1337! take a look at the SOCManager
class: https://github.com/joogps/SlideOverCard#manager
When using a tab bar, and showing a SlideOverCard on a subview, the card is hidden behind the tab bar. Is there any way that the y offset could take into account the height of the tab bar?
Code to reproduce: