lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

33135559: UISearchBar animation glitch #17835

Open openradar-mirror opened 7 years ago

openradar-mirror commented 7 years ago

Description

Summary: When using the new method to attach search bars by setting navigationItem.searchController, the search bar activation animation shortly reveals the containing UILayoutContainerView's background and the table view contentOffset is not animated to its new position.

Likewise, the dismiss animation doesn't animate the table view's contentOffset.

Steps to Reproduce: Run the attached sample project and add one row using the + button. Reveal and tap into the search bar.

Expected Results: The table view's content should animate towards the top. The first table view cell should stay attached to the search bar.

Actual Results: Only when the search bar animation completes, the table view content offset is set to its new value.

Version: 11.0 beta 2

Notes: See the attached screen grab movie, included in the sample project.

- Product Version: 11.0 beta 2 Created: 2017-07-05T16:26:30.158890 Originated: 05-Juli-2017 06:26 PM Open Radar Link: http://www.openradar.me/33135559

openradar-mirror commented 7 years ago

Modified: 2017-07-10T09:57:28.462240

openradar-mirror commented 7 years ago

Modified: 2017-07-10T09:57:28.462240