cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Cal/Embed - Slot disappears if i cancel while booking and doesnt reappear for myself immediately

Open laneme opened this issue 1 year ago • 2 comments

Issue Summary

Clicking on a time slot of any day and then cancelling (going back) doesn't release the slots for me.

Steps to Reproduce

  1. Click on a time slot of any random date (in an inline embed)
  2. Instead of filling the form, go back
  3. The slot i just cilcked is not there anymore

Though, the slot does come back after a certain time.

Expected Results

I learned from another issue #9942, that cal blocks the slots for a set time to prevent duplicate bookings.

BUT the slot should be available to myself, if i go back and forth.

Technical details

node 18 @calcom/embed 1.5.0 and 1.5.2

A video, for those not already aware of it.

https://github.com/user-attachments/assets/b81700c6-de90-491b-b7a1-12eb166e194c

laneme avatar Mar 13 '25 16:03 laneme

@laneme i am not able to replicate the issue. can you show the process from event creation?

parteekmalik avatar Mar 14 '25 13:03 parteekmalik

@parteekmalik I can replicate it here. This using the rick event provided by cal

https://codesandbox.io/s/embed-advanced-css-vars-x2sdgy?file=/src/App.tsx

https://github.com/user-attachments/assets/59782f86-9ca3-4472-b08f-f0e77077328a

laneme avatar Mar 14 '25 14:03 laneme

Thanks for raising , but the issue seems to be fixed :

https://github.com/user-attachments/assets/68e36dc9-5afe-4b64-a27c-3851c0c67ca1

TusharBhatt1 avatar Mar 21 '25 06:03 TusharBhatt1

@TusharBhatt1 Not fixed, can still reproduce.

laneme avatar Mar 21 '25 07:03 laneme

@TusharBhatt1 please re-open the issue.

laneme avatar Mar 23 '25 02:03 laneme

Can you please re-open the issue, I am also experiencing this issue.

@TusharBhatt1

websecnl avatar Apr 15 '25 15:04 websecnl

Sure

TusharBhatt1 avatar Apr 15 '25 15:04 TusharBhatt1

its happening on incognito mode because of user cookie settings. settings -> privacy and security -> third party cookies -> allow third party cookies

parteekmalik avatar Apr 17 '25 17:04 parteekmalik

its happening on incognito mode because of user cookie settings. settings -> privacy and security -> third party cookies -> allow third party cookies

happens to me even without incognito mode...

websecnl avatar Apr 17 '25 18:04 websecnl