Comments (6)
In Derivable
's case it has 1 looser property type than it should. As for React
, it's just unsightly yeah
from floating-ui.
This seems to be related to microsoft/rushstack#2479
from floating-ui.
Ok, I think I know how to fix Derivable_2
(it needs to use the DOM, not Core type), but I guess we can manually patch React_2
back to React
after the types have been generated.
from floating-ui.
Ok, I think I know how to fix
Derivable_2
(it needs to use the DOM, not Core type), but I guess we can manually patchReact_2
back toReact
after the types have been generated.
Is it necessary though? it still points to the same export which is the react package, and it's not like React_2
is leaking....
The same question goes for the Derivable_2
is there any type mismatching because of this?
I guess your point is that it looks a little ugly to have that _2
on the typings when someone investigates the typings 😅. It seems to be an open issue on API extractor side though, so I'd agree that if we want this gone we'll have to patch it after file generation for sure
from floating-ui.
please assign this issue to me @atomiks , I'll follow up with a PR ASAP
from floating-ui.
I can see that this strategy of adding a suffix is to avoid conflicts, in the case of Derivable_2
is because there's a local definition of Derivable
that makes sense to me. In the case of React_2
for some reason API extractor is assuming there's a local definition of React
?! that is weird
from floating-ui.
Related Issues (20)
- Floating UI Position Incorrect When Modal is Nested Inside Drawer Component HOT 5
- Reference error: process is not defined HOT 3
- List navigation doesn't scroll to selected item when other focusable elements are present in popover HOT 2
- Tooltip position is not updated when resizing window HOT 2
- isPositioned never gets updated on Safari and Firefox HOT 1
- Implicit dependency on React 18 typings HOT 1
- UseInteractionsReturn is missing HOT 1
- Regression in @floating-ui/[email protected] and return focus HOT 2
- Modal with FloatingFocusManager and no autoFocus scrolling to top of page HOT 6
- useListNavigation moves focus into list unexpectedly when an item is dynamically removed from the list HOT 8
- Floating UI doesn't use the latest version of the callbacks from each render HOT 12
- [Core] `size` middleware not correctly clipping floating element width/height
- Problem with flip/shift when floating element is zoomed HOT 1
- FloatingDelayGroup - This Suspense boundary received an update before it finished hydrating HOT 1
- When the focused element of a `FloatingFocusManager` is removed from the dom focus escapes to the `body` HOT 3
- [React-native] Android does not adjust based on reference's y-cordinate HOT 2
- Update dependency of floating-ui/react-dom HOT 1
- Fixed element as child of `dialog` element wrapped by element with `container-type` is positioned incorrectly HOT 2
- Unnecessary autoUpdate when content changes through animation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floating-ui.