Disallow keyboard focus in sidebar

Makes keyboard shortcuts from the split VC's primary content available

See #302
This commit is contained in:
Shadowfacts 2023-01-20 11:33:28 -05:00
parent 907810d98a
commit 1a64bfcef8
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ class MainSidebarViewController: UIViewController {
collectionView.delegate = self
collectionView.dragDelegate = self
collectionView.isSpringLoaded = true
// TODO: allow focusing sidebar once there's a workaround for keyboard shortcuts from main split content not being accessible when not in the responder chain
collectionView.allowsFocus = false
view.addSubview(collectionView)
dataSource = createDataSource()