Comments (7)
I don't have an ETA for a fix yet, but it is something we'd like to have fixed since it's one of the basic scenarios.
from react-native-macos.
Just a slight update, we're gonna try to pick this up in the next couple of weeks. I know that this is a pretty annoying regression in 0.73, and we recognize its importance.
from react-native-macos.
Does it work with 0.72, so the regression started with 0.73?
from react-native-macos.
Does it work with 0.72, so the regression started with 0.73?
This problem started with 0.73, 0.72 and earlier versions work fine.
from react-native-macos.
Can confirm. I got the same issue!
It seems like translate is working fine, the other transforms are not working though.
@Saadnajmi Do you think that this is something that will be fixed soon?
from react-native-macos.
我还没有修复的预计时间,但这是我们希望修复的问题,因为它是基本场景之一。
I don't know if this is the same problem. In my development, I found that when the transform property translateY is used to offset an element, the rendering is visually effective. But when I inspect the element it doesn't work, and its event triggers are kept at the position before the offset.
This problem occurs in 0.72.*.
<AnimatedContainer
{...containerProps}
shape="extraSmall"
containerHeight={containerLayout.height}
containerPageX={containerLayout.pageX}
containerPageY={containerLayout.pageY}
containerWidth={containerLayout.width}
layoutHeight={height}
layoutWidth={width}
supportingPosition={supportingPosition}
testID={`tooltip__supporting--${id}`}
type={type}
visible={visible}
style={{
opacity: renderOpacity,
transform: supportingPosition?.startsWith('vertical')
? [{translateX: -(width / 2)}]
: [{translateY: -(height / 2)}], //➡️ Here, translateY is used
}}>
<Inner {...onEvent} testID={`tooltip__supportingInner--${id}`}>
<SupportingText
ellipsizeMode="tail"
numberOfLines={1}
size="small"
testID={`tooltip__supportingText--${id}`}
type="body">
{supportingText}
</SupportingText>
</Inner>
</AnimatedContainer>
from react-native-macos.
This change from upstream appears to be the culprit: 5f40f08#diff-603b7dc6b8a6a1475051de116973331aa452b0c76cfa4f36cd413ac859e5534c
from react-native-macos.
Related Issues (20)
- [SocketRocket] Upstream visionOS Support
- Is __apply_Xcode_12_5_M1_post_install_workaround now obsolete? HOT 4
- Unable to resolve module
- Input focus area doesn't move when parent view is transformed HOT 7
- [Fabric] TextInput UI is not updated when changing prop `value` or calling `inputRef.current.clear()` / `inputRef.current.setNativeProps({text: ''})` HOT 2
- Web inspector flashing on production/release build when starting the app HOT 6
- Keyboard shortcuts (copy, paste, select) not working in TextInput HOT 6
- "Fatal error: 'ExpoModulesCore/ExpoModulesCore.h' file not found" in run-macos HOT 3
- I want to request a feature like in-app Purchases support, and Firebase support. HOT 3
- useWindowDimensions causes infinite re-rendering HOT 3
- Wrong image pixel density version on initial launch HOT 6
- Right click context menu HOT 5
- No version of react-native-macos@^0.70.0-0 found! HOT 1
- <Text onBlur={() => {}}> throws -[RCTTextView setOnBlur:]: unrecognized selector sent HOT 1
- How can i get the microphone or camera permission in react-native-macOS, i am using react-native-permissions HOT 3
- ERROR: No bundle URL present. HOT 10
- `Text` elements' `backgroundColor` style prop extends to the entire background
- NSTabView doesn't send mouseUp event because it doesn't inherit from NSControl HOT 7
- How can I make the react-native-macos work with ios? HOT 7
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 react-native-macos.