Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonnickel/fb13475990-swiftuisidebarlistrowbackgroundhighlightborder
https://github.com/simonnickel/fb13475990-swiftuisidebarlistrowbackgroundhighlightborder
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonnickel/fb13475990-swiftuisidebarlistrowbackgroundhighlightborder
- Owner: simonnickel
- Created: 2023-12-18T14:41:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-28T13:44:43.000Z (7 months ago)
- Last Synced: 2024-12-16T16:06:20.432Z (25 days ago)
- Language: Swift
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FB13475990 - SwiftUI: NavigationsSplitViews Sidebar shows highlight border when ListRowBackground is used.
## Scenario
A SwiftUI app uses a NavigationsSplitView with a Sidebar and a Detail view.
A custom ListRowBackground is applied on the selected list row.## Issue
In some cases the selected row gets a highlight border.
E.g. when:
1. The row is tapped on twice.
2. The sidebar is hidden and appears again.
3. The app closes into background and reappears.
4. ...
![screenshot](./screenshot.png)
## Example codeThe example shows the described scenario.
To reproduce the issue: Run on iPad, hide and show the sidebar.
## Tested on
- iOS 17.2
- iOS 18.0 beta 1 (22A5282m)