We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 440c3de commit 8b5e185Copy full SHA for 8b5e185
Sources/TGCardViewController/TGCardViewController.swift
@@ -579,7 +579,7 @@ open class TGCardViewController: UIViewController {
579
580
if cardIsNextToMap(in: traitCollection) {
581
// The map is to the right of the card, which we account for when not collapsed
582
- let ignoreCard = position == .collapsed && traitCollection.verticalSizeClass == .regular
+ let ignoreCard = (position == .collapsed && traitCollection.verticalSizeClass == .regular) || cardWrapperShadow.isHidden
583
left = ignoreCard ? 0 : cardWrapperShadow.frame.maxX
584
bottom = 0
585
top = topOverlap
0 commit comments