Skip to content

fix(): add guard to ensure that elements are not null to prevent null… #4386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 17, 2025

Conversation

michaelmkraus
Copy link
Contributor

@michaelmkraus michaelmkraus commented Jun 16, 2025

Proposed changes

  • fix(): add guard to ensure that elements are not null to prevent null reference in boundingRect call

closes #4373

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (fix on existing components or architectural decisions)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Further comments

Copy link
Contributor

mfranzke
mfranzke previously approved these changes Jun 16, 2025
@mfranzke
Copy link
Collaborator

@nmerget I like this solution, but your opinion on this as well.

@mfranzke mfranzke enabled auto-merge (squash) June 17, 2025 06:59
auto-merge was automatically disabled June 17, 2025 07:03

Pull Request is not mergeable

@mfranzke mfranzke enabled auto-merge (squash) June 17, 2025 07:19
@mfranzke mfranzke merged commit 932cb56 into main Jun 17, 2025
74 checks passed
@mfranzke mfranzke deleted the fix-call-boundingrect-of-null branch June 17, 2025 07:30
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in UX Engineering Team Backlog Jun 17, 2025
@mfranzke
Copy link
Collaborator

@nmerget I like this solution, but your opinion on this as well.

@nmerget says, he's fine with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working 🏝vue
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read properties of null (reading 'getBoundingClientRect')
2 participants