Embed Improvements: Add auto-scroll support back, reduce CLS, remove loader for Routing Form embed (#4819)

* Add back auto-scroll fix with proper check of visibilith

* Do improvement in CLS and dont show "Loading" text

* Improve experience with routing forms embed

Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
Hariom BalharaandAlex van Andel authored and GitHub committed 2022-10-14 10:10:54 +00:00
1 parent 88cad2e15f
commit 8583d9b2e6
7 files changed
+63 -22

No files matched your search

+11
View File
@@ -4,6 +4,17 @@ Embed Cal Link as a React Component
To know how to use it, follow the steps at <https://developer.cal.com/embed/install-with-react>
## Development
Following command starts a hot reloading server
`yarn dev`
If you are working with embed on website, don't forget to do `yarn build` after every change.
## Running Tests
Runs tests and updates the snapshots. Right now we don't care about snapshots
`yarn embed-tests-quick --update-snapshots`
TODO
- Playwright tests.