-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Description
Describe the bug
Runtime TypeError: "null is not an object (evaluating 't.context')" after library upgrade from 6.25 to 6.26 in Next.js project using Adyen Dropin. The error occurs in the CoreProvider component and appears to be related to React Context initialization.
To Reproduce
Steps to reproduce the behavior:
- Upgrade Adyen Web library to version that includes PR UIlement: Move CoreProvider to UIElement #3669 (UIElement: Move CoreProvider to UIElement)
- Use Adyen Dropin component in Next.js 16 app router
- Component fails to render with context error
- See error in browser console and call stack shows preact/hooks and CoreProvider.tsx
Expected behavior
Adyen Dropin component should render normally after library upgrade without context-related errors, maintaining the same functionality as before the upgrade.
Desktop:
- OS: macOS
- Browser: Safari
- Version: 26.2
Additional context
- NextJS 16.0.10 / App-router
- The issue appears to be directly related to PR UIlement: Move CoreProvider to UIElement #3669 which moved CoreProvider to UIElement base class
