ProMotion
ProMotion copied to clipboard
UI bug when using searchable and indexable together
I've been trying to use searchable and indexable together and it seems to have a UI bug. The index pushes the cells, and the search box, to the left.

I'm pretty sure this is a consequence of hard-coding the 320 width. TODO: assign @cbetta to fix this. ;)
:+1: This has been needing to be fixed for a while now. Should be an easy fix.
Lol, will see if I can dig at it. Anyone got a clue how to hotfix this for now?
From what I can tell I should be able to do something like:
searchable frame: CGRectMake(0, 0, 350, 44)
to change the frame size, am I right?
easiest way to check is to clone this repos, then change the gemfile in your project to:
gem "ProMotion", path: "../ProMotion"
then run bundle in your project and any changes you make to the local cloned repos will be compiled and built into your app.
@markrickert so been trying to fix this but rather lost. Pretty new to all this so not too sure if I'm digging at this right. Regardless of the value of the frame (I clone the repo locally and am using that as the gem in my project) the index just pushes all cells and the searchbar to the left.
To reclarify: it's pushing both the cells AND the search box.
@cbetta I'll look at this next week!