Skip to content
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

fix(core/dropdown): check against undefined access #1104

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

danielleroux
Copy link
Collaborator

🆕 What is the new behavior?

Allow the typeguard to check undefined object.

🏁 Checklist

A pull request can only be merged if all of these conditions are met (where applicable):

  • 🦮 Accessibility (a11y) features were implemented
  • 🗺️ Internationalization (i18n) - no hard coded strings
  • 📲 Responsiveness - components handle viewport changes and content overflow gracefully
  • 📄 Documentation was reviewed/updated (yarn docs)
  • 🧪 Unit tests were added/updated and pass (yarn test)
  • 📸 Visual regression tests were added/updated and pass (yarn visual-regression)
  • 🧐 Static code analysis passes (yarn lint)
  • 🏗️ Successful compilation (yarn build, changes pushed)

👨‍💻 Help & support

@danielleroux danielleroux merged commit 47deab1 into main Feb 21, 2024
6 checks passed
@danielleroux danielleroux deleted the fix/check-wrapper-typeguard branch February 21, 2024 12:30
@m7mdyahia
Copy link

@danielleroux
this now causes null pointer just after

TypeError: Cannot read properties of null (reading 'tagName')
at ix-dropdown.entry.js:244:21

see here

@nuke-ellington
Copy link
Collaborator

@m7mdyahia we just released another patch version (2.1.2-beta.0). Can you please check whether that fixes the issue for you?

@m7mdyahia
Copy link

@nuke-ellington solved in 2.1.2-beta.0 thanks
hope we see 2.1.2 soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants