{"id":18731999,"date":"2025-11-25T13:02:41","date_gmt":"2025-11-25T13:02:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=18731999"},"modified":"2025-11-25T14:13:33","modified_gmt":"2025-11-25T14:13:33","slug":"closing-when-tapping-the-background","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/closing-when-tapping-the-background\/","title":{"rendered":"Closing when tapping the background"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello. I tested version 5.4.0. Could you tell me why the lightbox doesn&#8217;t close when tapping the background on a smartphone? Experts say the following: Modal windows should close when tapping the background on a smartphone, as this is the standard and intuitive behavior for many apps and websites. This simplifies the user experience, allowing them to quickly close the window when it&#8217;s no longer needed or was opened accidentally, and return to the main content.<\/p>\n","protected":false},"template":"","class_list":["post-18731999","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18731999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18731999\/revisions"}],"predecessor-version":[{"id":18732092,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18731999\/revisions\/18732092"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18731999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}