Describe the bug
Getting an error in nextjs when importing components
Server Error
TypeError: document.getElementsByTagName is not a function
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
file: /node_modules/react-indiana-drag-scroll/dist/index.js (21:928)
**To Reproduce**
Steps to reproduce the behavior:
1. import {Button, Label, Modal, Radio, TextInput} from 'flowbite-react'
2. When building will give that error, my guess is that is trying to build that as SSR
**Expected behavior**
Component can be rendered server side without dynamic imports on nextjs
**Desktop (please complete the following information):**
- OS: Linux, Ubuntu
- Browser Chrome
- "flowbite": "^1.8.1",
"flowbite-react": "0.5.0"
Using page router
Describe the bug Getting an error in nextjs when importing components
Server Error TypeError: document.getElementsByTagName is not a function
This error happened while generating the page. Any console logs will be displayed in the terminal window. Call Stack