CPListImageRowItem layout issue with 3 items on iOS < 26 (UI lag when using imageTitles)

Description: I’m using CPListTemplate and creating rows with CPListImageRowItem using the following initializer:

if #available(iOS 17.4, *) { self.init(text: titleList, images: imagesRow, imageTitles: titlesRow) }

Problem: When displaying 3 items instead of 4, on iOS versions below 26, the items are automatically stretched to fill the available width.

This leads to a serious issue:

  • The UI becomes laggy when interacting with the control buttons on the right
  • The interface “jumps” and behaves inconsistently

After investigating, I found that: If imageTitles is set to nil, the issue disappears and everything works smoothly

Behavior difference: On iOS 26, this issue does not occur Items are no longer stretched when there are only 3 — instead, empty space remains on the right

Questions: Is this a known issue or expected behavior on older iOS versions? Is there a recommended workaround besides setting imageTitles = nil?

CPListImageRowItem layout issue with 3 items on iOS &lt; 26 (UI lag when using imageTitles)
 
 
Q