[wp-trac] [WordPress Trac] #25696: Double clicking update on list table inline edit removes row from dom
WordPress Trac
noreply at wordpress.org
Tue Jan 12 07:54:47 UTC 2016
#25696: Double clicking update on list table inline edit removes row from dom
-------------------------------------+-----------------------------
Reporter: mt8.biz | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Quick/Bulk Edit | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, javascript
-------------------------------------+-----------------------------
Comment (by afercia):
Replying to [comment:13 ericlewis]:
> Good to know! Should button disabling be considered an anti-pattern for
that reason?
It always depends, case by case. But when disabling, hiding, removing from
the DOM, a focused element then focus should be moved to the most logical
place. Better: avoid a focus loss in the first place :)
Also, the Quick Edit form can be submitted pressing Enter on any field
(also the textarea, select, checkboxes) so I'm not sure disabling the
button would really solve the issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25696#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list