WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#28268 closed defect (bug) (fixed)

wpviews: view not deselected when clicking under the last element in the body

Reported by: iseulde Owned by: azaozz
Milestone: 4.0 Priority: normal
Severity: normal Version: 3.9
Component: TinyMCE Keywords: has-patch
Focuses: javascript Cc:

Description

This also happens when you click on the far right and the content width is smaller than the iframe.
That's because the clicks around bound to the body. When bound to the html element, everything works fine.

Attachments (1)

28268.patch (614 bytes) - added by iseulde 6 years ago.

Download all attachments as: .zip

Change History (4)

@iseulde
6 years ago

#1 @iseulde
6 years ago

  • Keywords has-patch added

#2 @gcorne
6 years ago

  • Focuses javascript added
  • Milestone changed from Awaiting Review to 4.0

#3 @azaozz
6 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 28687:

wpView: fix deselecting a view when clicking outside the iframe body. Props avryl, fixes #28268

Note: See TracTickets for help on using tickets.