mapbox / mapbox/mapbox-gl-js

NextUI seems to break/clash with Mapbox GL JS

Open
#13,346 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged needs information :pray:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**mapbox-gl-js version**:3.7.0

**browser**:Chrome, Forefox, any browser

### Steps to Trigger Behavior

1. Get a working react app with tailwind and mapbox gl js
2. Add NextUI
3. Add the NextUi tags, NextUIProvider around the App as per install instrutions

### Link to Demonstration

No example

### Expected Behavior
App continues working and map displays

### Actual Behavior
As soon as App is surrounded by tags, mapbox map no longer displays - everything else works fine, except map no longer visible

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported setup: a React app using Tailwind CSS, mapbox-gl 3.7.0, and NextUIProvider, then inspect the browser console and compare the map with and without the provider. A useful result would identify the interaction that prevents the map from displaying and confirm that the map renders while the rest of the application remains functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, tailwindcss, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.