# לחיצה מחוץ לחלון הסימניות תיצור את הסימניה בכל מקרה

**URL:** https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487
**Category:** UX
**Tags:** bookmarks
**Created:** [6 באפריל,‏ 2022,‏ 12:20pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487 "2022-04-06T12:20:28Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [6 באפריל,‏ 2022,‏ 12:20pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/1 "2022-04-06T12:20:28Z")

</div>

This might be me but I am used to closing a modal I want to cancel by clicking outside of the modal.

When creating a bookmark, the modal does disappear when you click outside of it, however the bookmark is still being created or changed. This is not what I expected to happen.

Clicking the X or pressing ESC to close the modal does actually cancel the action.

![firefox_Bu7E734mqK](https://global.discourse-cdn.com/meta/original/3X/1/7/1736e922a2f8f84568d85cbe9dc0e9ce8d5c7cba.gif)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [6 באפריל,‏ 2022,‏ 5:03pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/2 "2022-04-06T17:03:44Z")

</div>

I have just repro’d this on your post. 🙂

Clicking ‘off-screen’ does indeed create the bookmark rather than exiting without saving.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [6 באפריל,‏ 2022,‏ 5:30pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/3 "2022-04-06T17:30:10Z")

</div>

I’m not sure, this could be the intended behaviour in line with how browsers (at least firefox iirc) treats bookmarks.

You click the bookmark button and it creates the bookmark unless you specifically ask not to.

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [6 באפריל,‏ 2022,‏ 5:43pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/4 "2022-04-06T17:43:28Z")

</div>

But since the dawn of time closing a modal performs no action.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [6 באפריל,‏ 2022,‏ 5:44pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/5 "2022-04-06T17:44:45Z")

</div>

I agree this seems like a bug. I am able to repro here as well. Clicking outside the modal creates a bookmark with no reminder set.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [6 באפריל,‏ 2022,‏ 6:03pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/7 "2022-04-06T18:03:51Z")

</div>

This was intentionally done when the feature was developed, the idea was following Firefox’s bookmark modal as an example… logic is:

- Click on new bookmark, click outside the modal, modal is closed and bookmark is created
- Click on new bookmark, click cancel, no bookmark is made
- Click on existing bookmark, a new “Remove bookmark” button shows up, you can use that to remove it.

This isn’t to say we _shouldn’t_ change it if it’s confusing, but it’s technically not a bug. I’m going to move this to #Contribute > UX. The difference between full-page modal (Discourse) and fly-out menu (Firefox) might be significant to warrant changing the behavior?

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [6 באפריל,‏ 2022,‏ 6:07pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/8 "2022-04-06T18:07:02Z")

</div>

I guess my main problem is that it is not consistent with other modals in Discourse. Clicking outside the Flag modal does not create a flag, clicking outside the Share modal does not share the post.

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [6 באפריל,‏ 2022,‏ 6:26pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/9 "2022-04-06T18:26:24Z")

</div>

I’m going to guess that there never used to be a popup/modal at all, so it made sense at the time when it was added to keep the old functionality (ie you’ve clicked the bookmark button so you get a bookmark). But overall it does seem odd. Having said that, I bookmark things all the time and had never noticed this quirk!

(The way browsers automatically add bookmarks when I accidentally hit control-D has annoyed me for years…)

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [6 באפריל,‏ 2022,‏ 6:30pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/10 "2022-04-06T18:30:18Z")

</div>

Yeah, to split hairs we can say that the bookmark button click _is_ the action, because everything in the modal following is optional. Sharing and Flagging require an additional action or more information and there’s nothing for us to do with a single click. In hindsight that’s probably a lot harder to figure out than consistent modal behavior.

One thing that could maybe clear it up is a different form of menu… this doesn’t work perfectly as shown in this quick mock-up, but if we want to keep the single-click bookmarks it could be worth exploring. This way you could more clearly see the button change state when clicked, and it’s not a full modal, so maybe that makes the click-away behavior less confusing.

 ![Screen Shot 2022-04-06 at 2.25.39 PM](https://global.discourse-cdn.com/meta/original/4X/2/4/f/24fbbf3474aed2c2936eb129fd62ad5a3a90a97c.png)

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [6 באפריל,‏ 2022,‏ 7:26pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/11 "2022-04-06T19:26:40Z")

</div>

> [@awesomerobot](#):
>
> clearly see the button change state when clicked

Not a bad idea,

Please note that right now the bookmark is actually added at the moment the modal is dismissed, not at the moment it is opened. So that would require either a heavy refactoring or faking the button state.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [7 באפריל,‏ 2022,‏ 1:42am UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/12 "2022-04-07T01:42:20Z")

</div>

Going to mention @martin here, I do think this is intentional, but I also understand the confusion.

In real world usage this “over bookmarking” almost never bites me, but I can get the suprise here.

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [7 באפריל,‏ 2022,‏ 3:14am UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/13 "2022-04-07T03:14:17Z")

</div>

Not a bug, this is intentional, and it has been from the very beginning of bookmarks. This is to remove friction from creating bookmarks and as Kris said:

> [@awesomerobot](#):
>
> the idea was following Firefox’s bookmark modal as an example

Maybe I could see this as a user preference or something, but it has been this way for at least 2 years now without issue so I’d like to have more reports of it being a problem before we act on it.

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [17 ביוני,‏ 2022,‏ 6:58pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/14 "2022-06-17T18:58:01Z")

</div>

once agai, this is another issue I was told to come here about. it’s copied from that forum, you can get the get the link [here](https://devforum.roblox.com/t/please-require-confirmation-before-bookmarking-a-topic/1836889)

When pressing F on a topic, the Bookmark modal appears. My first reaction is to click off because I probably didn’t mean to open it, because a normal F is probably too easy to open it in the first place.

But, that saves it as a bookmark.

This isn’t a bug because the same thing happens most forums, it’s just an annoyance.

What I think _should_ happen is when I click off, it does nothing and ignores the bookmark. But, if I click the “Save” button, THEN it can make the bookmark.

In summary, just make it so clicking off does nothing, and you have to click Save before a bookmark is saved.

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [17 ביוני,‏ 2022,‏ 7:28pm UTC](https://meta.discourse.org/t/clicking-outside-of-the-bookmark-modal-will-create-the-bookmark-anyway/223487/15 "2022-06-17T19:28:29Z")

</div>

That’s different, you’re clicking a button that’s “Yeah, I wanna bookmark this.”  
On Discourse, you probably pressed F on accident and dont want to bookmark it.

As OP says it’s not consistent with all of the other modals in discourse, I think it should be changed.
