Skip to content

Fix frozen confirmbox when keyboard shown#5452

Merged
poire-z merged 2 commits intokoreader:masterfrom
mustafa-001:master
Oct 4, 2019
Merged

Fix frozen confirmbox when keyboard shown#5452
poire-z merged 2 commits intokoreader:masterfrom
mustafa-001:master

Conversation

@mustafa-001
Copy link
Copy Markdown
Contributor

see #5415 #4034

@Frenzie Frenzie added this to the 2019.10 milestone Oct 4, 2019
@Frenzie Frenzie added the UX label Oct 4, 2019
checked_widgets[widget] = true
if widget.widget:handleEvent(event) then return end
end
if widget.widget.modal then
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it could just be an or?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be a or indeed, but I don't mind the split because of the lengthy comments.
But that if might be a elseif. Dunno if a is_always_active might also be a modal, but calling twice handleEvent on a same widget, even if it returns false, might have some side effect (can't think of any right now, but logically, it could).
A or would solve this issue too, so why not :)

@poire-z poire-z merged commit 513fd80 into koreader:master Oct 4, 2019
Frenzie added a commit that referenced this pull request Nov 6, 2019
Frenzie added a commit that referenced this pull request Nov 6, 2019
mwoz123 pushed a commit to mwoz123/koreader that referenced this pull request Mar 29, 2020
mwoz123 pushed a commit to mwoz123/koreader that referenced this pull request Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants