mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Documentation
This commit is contained in:
1 parent
9249efbe6f
commit
65668cfc8e
2 files changed
+4
-6
No files matched your search
@@ -35,10 +35,9 @@ struct AppView: View {
|
||||
ordering: $players.ordering,
|
||||
willChange: {
|
||||
// onChange(of: $players.wrappedValue.ordering)
|
||||
// reveals a bug in SwiftUI: the List remains in
|
||||
// editing mode if the editMode is changed during
|
||||
// is not able to leave the editing mode during
|
||||
// the animation of the list content.
|
||||
// Word around: stop editing *before* the ordering
|
||||
// Workaround: stop editing before the ordering
|
||||
// is changed, and the list content is updated.
|
||||
stopEditing()
|
||||
}))
|
||||
|
||||
@@ -35,10 +35,9 @@ struct AppView: View {
|
||||
ordering: $players.ordering,
|
||||
willChange: {
|
||||
// onChange(of: $players.wrappedValue.ordering)
|
||||
// reveals a bug in SwiftUI: the List remains in
|
||||
// editing mode if the editMode is changed during
|
||||
// is not able to leave the editing mode during
|
||||
// the animation of the list content.
|
||||
// Word around: stop editing *before* the ordering
|
||||
// Workaround: stop editing before the ordering
|
||||
// is changed, and the list content is updated.
|
||||
stopEditing()
|
||||
}))
|
||||
|
||||
Reference in new issue
Block a user