diff --git a/VDS/Components/TileContainer/TileContainer.swift b/VDS/Components/TileContainer/TileContainer.swift index d32c1169..314b16b8 100644 --- a/VDS/Components/TileContainer/TileContainer.swift +++ b/VDS/Components/TileContainer/TileContainer.swift @@ -108,6 +108,10 @@ open class TileContainerBase: Control where Padding $0.clipsToBounds = true } + private var containerView = View().with { + $0.isUserInteractionEnabled = false + } + //-------------------------------------------------- // MARK: - Public Properties //-------------------------------------------------- @@ -119,11 +123,6 @@ open class TileContainerBase: Control where Padding $0.isUserInteractionEnabled = false } - /// This is the container in which views will be pinned. - open var containerView = View().with { - $0.isUserInteractionEnabled = false - } - /// This is the view used to show the high light color for a onClick. open var highlightView = View().with { $0.isUserInteractionEnabled = false