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

Webstorm React JSX inline css style auto suggestion breaks #1934

Open
znshje opened this issue Apr 23, 2024 · 0 comments
Open

Webstorm React JSX inline css style auto suggestion breaks #1934

znshje opened this issue Apr 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@znshje
Copy link

znshje commented Apr 23, 2024

  • three version: NOT INSTALLED
  • @react-three/fiber version: NOT INSTALLED
  • @react-three/drei version: 9.105.4
  • node version: v21.7.3
  • npm (or yarn) version: yarn 1.22.22
  • OS: Arch Linux 6.6.28-1-lts
  • WebStorm version: 2024.1 Build #WS-241.14494.235, built on March 27, 2024

Problem description:

When @react-three/drei is not installed, the auto suggestion of React JSX inline css works normally as:
normal

But when I install the library by yarn add @react-three/drei, and webstorm auto suggestion for React JSX inline css breaks:
bug

Relevant code:

The issue can be reproduced from a minimal setup by create-react-app, and run yarn add @react-three/drei.

// App.js
import logo from './logo.svg';
import './App.css';

function App() {
  return (
    <div className="App" style={{wi}}> {/* <- type any css style name, and press CTRL + Space for auto suggestions */}
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code>src/App.js</code> and save to reload.
        </p>
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
      </header>
    </div>
  );
}

export default App;

Suggested solution:

I'm afraid no suggested solutions can be provided currently.

@znshje znshje added the bug Something isn't working label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant