Title: Warning when deleting a split area. · Issue #513 · angular-split/angular-split · GitHub
Open Graph Title: Warning when deleting a split area. · Issue #513 · angular-split/angular-split
X Title: Warning when deleting a split area. · Issue #513 · angular-split/angular-split
Description: Describe the bug: When deleting a split area, the following warning appears in the console: as-split: Percent areas must total 100% After reviewing my implementation, I confirmed that the area sizes are set correctly. In my use case, I a...
Open Graph Description: Describe the bug: When deleting a split area, the following warning appears in the console: as-split: Percent areas must total 100% After reviewing my implementation, I confirmed that the area size...
X Description: Describe the bug: When deleting a split area, the following warning appears in the console: as-split: Percent areas must total 100% After reviewing my implementation, I confirmed that the area size...
Opengraph URL: https://github.com/angular-split/angular-split/issues/513
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Warning when deleting a split area.","articleBody":"Describe the bug:\nWhen deleting a split area, the following warning appears in the console:\nas-split: Percent areas must total 100%\nAfter reviewing my implementation, I confirmed that the area sizes are set correctly.\nIn my use case, I always have at least 1 and at most 2 split areas at any given time.\n- When starting with one area or adding a second area, everything works as expected, and no warnings appear.\n- However, when deleting one of the areas, the warning is triggered—even though the remaining area is configured correctly.\n\nLibrary version:\n@angular-split version: \"^19.0.0\",\nangular: 19 (latest).\n\nSteps to reproduce the issue:\n\nI created a demo to reproduce the issue:\n[Remove area demo](https://stackblitz.com/edit/stackblitz-starters-d4fqgbco?file=src%2Fapp%2Fmy-splitter%2Fmy-splitter.component.ts)\n\n1. Start with 2 split area.\n2. Delete one of the areas programmatically(by button click).\n\nObserve the warning in the console:\n`as-split: Percent areas must total 100%`\n\nExpected behavior:\nDeleting a split area should not result in a warning.\n\n","author":{"url":"https://github.com/YevgeniGitin","@type":"Person","name":"YevgeniGitin"},"datePublished":"2025-05-25T12:39:09Z","url":"https://github.com/angular-split/angular-split/issues/513"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:bf204d1b-afae-fa4a-e880-a539367655d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A91A:62283:103D231:158F41D:6B010C68 |
| html-safe-nonce | 3b180b3cc941ed54e4825fb8408811223f578ebd39dd8d18088927b4e68fc47c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTFBOjYyMjgzOjEwM0QyMzE6MTU4RjQxRDo2QjAxMEM2OCIsInZpc2l0b3JfaWQiOiI5MTQ3MjcyMzk1MDU1MjM4MjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | da0ae019266019b50cac2185250551b88b9ec5aedb032b3a54eb9351eec94619 |
| hovercard-subject-tag | issue:3089273693 |
| 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/angular-split/angular-split/513/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4d4a2d12c38681b38bca68edfe813cbc5c161f1a70e81613cca3ec6ea433d19f/angular-split/angular-split/issues/513 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4d4a2d12c38681b38bca68edfe813cbc5c161f1a70e81613cca3ec6ea433d19f/angular-split/angular-split/issues/513 |
| og:image:alt | Describe the bug: When deleting a split area, the following warning appears in the console: as-split: Percent areas must total 100% After reviewing my implementation, I confirmed that the area size... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | YevgeniGitin |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular-split/angular-split git https://github.com/angular-split/angular-split.git |
| octolytics-dimension-user_id | 68742971 |
| octolytics-dimension-user_login | angular-split |
| octolytics-dimension-repository_id | 76653821 |
| octolytics-dimension-repository_nwo | angular-split/angular-split |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76653821 |
| octolytics-dimension-repository_network_root_nwo | angular-split/angular-split |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width