Ad

Our DNA is written in Swift
Jump

Bug: “Testfield in Row of List with Movable Items”

I was trying to recreate an existing user interface view in SwiftUI but got stumped for a while by some erratic behavior. I’ve built a nice sample app which is also on GitHub. This has been filed as FB9715757.

Description

If you have a List with movable rows that has a Textfield in its rows there is an issue if you try to move a row while it is first responder.

Steps to Reproduce

Please run the provided sample app on iOS 15 simulator.

  1. Tap on the item titled ‘One’ below and modify the string.
  2. Use the item’s reorder handle to move it into second position.
  3. Drag it back up into first position.

Expected Behavior

That you can move the row back into first position.

Actual Behavior

The system won’t let you drop the row in first position. Sometimes the row disappears entirely leaving a gap between the “Two” and “Three” items (see screenshot)

A functioning workaround is if the first responder is resigned before the move itself.


Also published on Medium.


Categories: Bug Reports

15 Comments »

Trackbacks

  1. Bug: “Testfield in Row of Listing with Movable Objects” - Lecheyre.ch
  2. Bug: “Testfield in Row of Record with Movable Objects” | My Blog
  3. Bug: “Testfield in Row of Record with Movable Objects” - Technology
  4. Bug: “Testfield in Row of Checklist with Movable Objects” {Updated 2022}
  5. Bug: “Testfield in Row of Listing with Movable Objects”
  6. Bug: “Testfield in Row of Checklist with Movable Gadgets” - Halakick
  7. Bug: “Testfield in Row of Record with Movable Objects”
  8. Bug: “Testfield in Row of Listing with Movable Gadgets”
  9. Bug: “Testfield in Row of Record with Movable Gadgets”
  10. Worm: “Testfield in Row of Checklist with Movable Pieces” - TechNews. All rights reserved.
  11. Bug: “Testfield in Row of Listing with Movable Gadgets” | Tech Mastery
  12. Bug: “Testfield in Row of Checklist with Movable Objects” - ajnabiblog.com
  13. Bug: “Testfield in Row of List with Movable Items”
  14. Bug: “Testfield in Row of List with Movable Items” - Newest Tech Trends
  15. Bug: “Testfield in Row of Record with Movable Gadgets” - techaichannel

Leave a Comment