Title: Inspecting the slider in Safari and Chrome will eventually kill the browser · Issue #740 · Splidejs/splide · GitHub
Open Graph Title: Inspecting the slider in Safari and Chrome will eventually kill the browser · Issue #740 · Splidejs/splide
X Title: Inspecting the slider in Safari and Chrome will eventually kill the browser · Issue #740 · Splidejs/splide
Description: Checks Not a duplicate. Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions Version v4.0.0 with grid extension ...
Open Graph Description: Checks Not a duplicate. Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discuss...
X Description: Checks Not a duplicate. Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discuss...
Opengraph URL: https://github.com/Splidejs/splide/issues/740
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inspecting the slider in Safari and Chrome will eventually kill the browser","articleBody":"### Checks\r\n\r\n- [X] Not a duplicate.\r\n- [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions\r\n\r\n### Version\r\n\r\nv4.0.0 with grid extension 0.4.0\r\n\r\n### Description\r\n\r\nInspecting the slider in Safari on M1 Monterey 12.2.1 with Safari 15.3 and Chrome 99.0.4844.84 will eventually crash both browsers with these settings:\r\n\r\n\r\n\r\nIt will worsen quickly if i drag the inspecter back and forth while testing responsive modes (inspector on the right side of the browser).\r\n\r\nIt might be (another) issue on my end though.\r\n\r\nCan provide video privately if needed as the project is not public yet.\r\n\r\n\r\n\r\n### Reproduction Link\r\n\r\n_No response_\r\n\r\n### Steps to Reproduce\r\n\r\nSlider with the following settings:\r\n\r\n```js\r\nnew Splide( '#splide-statements', {\r\n type: 'loop',\r\n perPage:1,\r\n gap: '1rem',\r\n lazyLoad: 'nearby',\r\n drag: true,\r\n pagination:false,\r\n padding: '2rem', \r\n mediaQuery: 'min', // Work with min-width instead of max-width for breakpoint definitions\r\n breakpoints: {\r\n 1400: {\r\n perPage: 4,\r\n },\r\n 1200: {\r\n perPage: 3,\r\n grid: {\r\n rows: 2,\r\n gap: {\r\n row: '2rem',\r\n },\r\n },\r\n gap: '2rem',\r\n },\r\n 600: {\r\n perPage: 2,\r\n grid: {\r\n rows: 2,\r\n gap: {\r\n row: '1.5rem',\r\n },\r\n },\r\n gap: '1.5rem',\r\n drag: 'free',\r\n snap: true, \r\n padding: '5rem', \r\n },\r\n },\r\n }).mount( window.splide.Extensions );\r\n```\r\n\r\nMarkup (Hubl):\r\n\r\n```html\r\n{# Carousel #}\r\n \u003cdiv class=\"splide statements__carousel\" id=\"splide-statements\" role=\"group\" aria-label=\"Dot Legal statements\"\u003e\r\n \u003cdiv class=\"splide__track\"\u003e\r\n \u003cul class=\"splide__list\"\u003e\r\n {% for statement in module.statement %}\r\n \u003cli class=\"splide__slide\"\u003e\r\n \u003cdiv class=\"statements__statement statement\"\u003e\r\n \u003cdiv class=\"statement__intro\"\u003e\r\n {# Image #}\r\n \u003cdiv class=\"statement__image\"\u003e\r\n \u003cimg data-splide-lazy=\"{{ statement.image.src }}\" alt=\"{{ statement.image.alt }}\"\u003e\r\n \u003c/div\u003e\r\n {# Intro #}\r\n \u003cdiv class=\"statement__info\"\u003e \r\n {# Name #}\r\n {{ statement.full_name }}\r\n {# Title #} \r\n \u003cspan\u003e{{ statement.job_title }}\u003c/span\u003e\r\n \u003c/div\u003e\r\n \u003c/div\u003e\r\n {# Body #}\r\n \u003cdiv class=\"statement__body\"\u003e\r\n {# Description #}\r\n {{ statement.the_statement|truncate(200, false, '...') }}\r\n \u003c/div\u003e\r\n \u003c/div\u003e\r\n \u003c/li\u003e\r\n {% endfor %}\r\n \u003c/ul\u003e\r\n \u003c/div\u003e\r\n {# Custom arrows #}\r\n \u003cdiv class=\"splide__arrows\"\u003e\r\n \u003cbutton class=\"splide__arrow splide__arrow--prev\"\u003e\r\n Prev\r\n \u003c/button\u003e\r\n \u003cbutton class=\"splide__arrow splide__arrow--next\"\u003e\r\n Next\r\n \u003c/button\u003e\r\n \u003c/div\u003e\r\n \u003c/div\u003e\r\n```\r\n\r\nOpen inspector, drag it around to test responsive modes, inspector should slow down and eventually crash.\r\n\r\nUp until now the browser doesn't seem to crash if I poke around the slider without inspecting it.\r\n\r\n### Expected Behaviour\r\n\r\nNon-chrashing inspector.","author":{"url":"https://github.com/MartinHaun","@type":"Person","name":"MartinHaun"},"datePublished":"2022-04-06T07:43:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/740/splide/issues/740"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:414437b9-11e7-1eac-6b44-c390caf48465 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B752:28F93A:A1FD1A2:DC32717:6A4BDBB9 |
| html-safe-nonce | 0f8be0d4a8a4cc6b3411cd9290e87588df25d5d647e5d1671b5e08a0d6bf69df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzUyOjI4RjkzQTpBMUZEMUEyOkRDMzI3MTc6NkE0QkRCQjkiLCJ2aXNpdG9yX2lkIjoiODAwNzM1OTc0MDc4NTcxMjA1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 43ee95211fcdb2f654c428462f9f3428c9856564840ae2964106d9d44ca17268 |
| hovercard-subject-tag | issue:1194197593 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Splidejs/splide/740/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ebf4a58e519780d6eb2884658acf03052aea37cf35f54a36a8b25ac52e033bc/Splidejs/splide/issues/740 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ebf4a58e519780d6eb2884658acf03052aea37cf35f54a36a8b25ac52e033bc/Splidejs/splide/issues/740 |
| og:image:alt | Checks Not a duplicate. Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discuss... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MartinHaun |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9df996be9551ac02247d09a2f7f64ece66c35ca28885d346e98fdfda9cdaa37b |
| turbo-cache-control | no-preview |
| go-import | github.com/Splidejs/splide git https://github.com/Splidejs/splide.git |
| octolytics-dimension-user_id | 53294517 |
| octolytics-dimension-user_login | Splidejs |
| octolytics-dimension-repository_id | 198788945 |
| octolytics-dimension-repository_nwo | Splidejs/splide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 198788945 |
| octolytics-dimension-repository_network_root_nwo | Splidejs/splide |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7242837c61fe4c8b774b83b9ee05b1881ba589f8 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width