I found new weird:
After I tap the detail_button of a item which is belong dialogs list(test-1), dialogs list(test-3) is popup. As the description in first post, dialogs list(test-3) can not be scroll down.
But if I tap any row in dialogs list(test-3), dialogs list(test-2) is popup as expected. Then I close the dialogs list(test-2) to get back dialogs list(test-3), dialogs list(test-3) can be scroll down now.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Latest posts made by ado
-
RE: dialogs list can not be scroll down when it was present from detail_button
-
RE: dialogs list can not be scroll down when it was present from detail_button
@Phuket2 @cvp
Appreciated for your help!
In view of that I want to tap rows of dialogs list(test-3) doing other thing. Hope this issue will be fixed soon. -
RE: dialogs list can not be scroll down when it was present from detail_button
@cvp @Phuket2
Thanks for your help!
Exactly, if I comment wait_modal for dialogs list(test-3), the dialogs list(test-3) can be scroll down. Unfortunately, I want to do some refreshing job after the view is colsed.
It is weird even I do not comment wait_modal:- dialogs list(test-2) can be scroll down in iOS 10.x~11.x;
- dialogs list(test-3) can be scroll down in iOS10.x;
-
dialogs list can not be scroll down when it was present from detail_button
I have a dialogs list(test-1) which has items with detail_button. If you tap the row of a item, another dialogs list(test-2) will be popup. If you tap the detail_button of a item, another dialogs list(test-3) will be popup.
The problem is in iOS 11.1.2, dialogs list(test-3) can not be scroll down meanwhile dialogs list(test-1) and dialogs list(test-2) can be scroll down.
In iOS 10.x dialogs list(test-1) and dialogs list(test-2) and dialogs list(test-3) all can be scroll down.
Is it a bug with pythonista or iOS?
Any help is appreciated.
The code is below:import ui import dialogs class _new_ListDialogController(dialogs._ListDialogController): def __init__(self, title, items, multiple=False, done_button_title='Done'): self.items = items self.selected_item = None self.view = ui.TableView() self.view.name = title ds = ui.ListDataSource(items) ds.action = self.row_selected ds.accessory_action = self.accessory_action self.view.data_source = ds self.view.delegate = ds self.view.frame = (0, 0, 500, 500) def row_selected(self,ds): list_dialog(title='test-2', items=['item-2']) def accessory_action(self,ds): list_dialog(title='test-3', items=['item-3']) def list_dialog(title='', items=None, multiple=False, done_button_title='Done'): c = _new_ListDialogController(title, items,multiple,done_button_title) c.view.present('sheet') c.view.wait_modal() return c.selected_item list_dialog('test-1',items=[{'title':'item-1','accessory_type':'detail_button'}])