changes for accessibility
This commit is contained in:
parent
42929810a1
commit
5326a3afd6
@ -57,9 +57,7 @@ open class Stack<T>: Container where T: (StackModelProtocol & MoleculeModelProto
|
||||
|
||||
/// Removes all stack items views from the view.
|
||||
open func removeAllItemViews() {
|
||||
for item in stackItems {
|
||||
item.removeFromSuperview()
|
||||
}
|
||||
stackItems.forEach { $0.removeFromSuperview() }
|
||||
}
|
||||
|
||||
/// A convenience function for when the stackItems are containers and we want to update them based on the contained molecules models. If model is nil, stackItem is set to gone. Restacks if necessary.
|
||||
|
||||
@ -54,6 +54,7 @@ public extension Container {
|
||||
/// Will be called only once.
|
||||
override func setupView() {
|
||||
super.setupView()
|
||||
isAccessibilityElement = false
|
||||
backgroundColor = .clear
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user