cost 85 ms
是否可以使用彈出菜單在本機反應中更改頂部“標題”事物的寬度?

[英]Is it possible to change the width of just a top "header" thing using popup-menu in react native?

使用 React Native react-native-popup-menu 是否可以設置菜單樣式,所以它看起來像下面這樣? 我現在有這個,不知道如何制作上面的: 當前用於樣式的代碼: 是否有可能以某種方式改變這個頂部 header "kategoria" 的寬度? ...

是否可以打開基於組件 state 的菜單? 在 react-native-popup-menu 中沒有 MenuTrigger

[英]Is it possible to open a menu based on the component state? Without the MenuTrigger in react-native-popup-menu

如何在沒有<MenuTrigger text='Select action' /> 文檔說,菜單可以通過單擊或調用上下文方法打開。 我想知道如何在這個功能組件中使用上下文方法。 ...

使用 react-native-popup-menu 實現多級彈出窗口的理想方法是什么?

[英]What is an ideal way to implement multi-level popups with react-native-popup-menu?

使用 react-native-popup-menu 實現多級彈出窗口的理想方法是什么? 我希望能夠單擊屏幕上的圖標並顯示第一級彈出菜單。 第一級彈出菜單上的每個項目都可能在第一個菜單的頂部打開第二級彈出菜單(具有類似的<MenuTrigger>行為)。 我最初的想法是以某種方式從& ...

React Native Pass Selected asyncStorage value to Popup onPress

[英]React Native Pass Selected asyncStorage value to Popup onPress

我正在嘗試為我選擇的值制作一個彈出屏幕。 這是在本地存儲中。 我正在嘗試將值 firstname、lastname、phone 傳遞給 Popup。 像這樣 我希望值“h”顯示在“呼叫”和“文本”旁邊。 這是我最喜歡的聯系頁面。 這是我的彈出頁面。 請高手幫幫我。 ...

如何在彈出菜單中添加偏移量?

[英]How to add offset to the popup menu?

我想抵消我的按鈕上彈出的菜單。 我希望彈出窗口不會阻礙單擊的按鈕。 我閱讀了文檔並嘗試添加樣式,但找不到添加樣式的位置和方式。 該文檔提到該庫的某些組件接受customStyles道具,但每當我嘗試給它一些東西時它都會出錯,例如<MenuOptions customStyles={{top: ...

彈出菜單未在Android上使用“ react-native-popup-menu”出現

[英]Popup menu does not appear on Android using “react-native-popup-menu”

我正在使用react-native-popup-menu制作一個移動應用程序。 (React Native)彈出單元在iOS上運行良好。 但是當我在Android模擬器上對其進行測試時,就不會在Android上買到它。 我看過一篇文章,提出了涉及MenuContext>元素的修復 ...

單擊React Native中的Icon打開菜單

[英]Open Menu on click of Icon in React Native

當單擊React Native中的 Icon時,我無法確定如何顯示菜單項 Expo Link 碼 請讓我知道如何將菜單與圖標集成.. 基本上所有項目都顯示在FlatList中 ,其中每個項目都有自己的菜單項 ...

React Native彈出菜單無法使用導航道具進行導航

[英]React native popup menu can not navigate using navigation props

我有Message反應導航堆棧屏幕。 我想使用react-native-popup-menu導航到另一個屏幕。 這似乎導航道具無法傳遞到MessagePopupMenu組件,當我點擊AddFriend和AddGroup菜單按鈕。 Message組件已經作為正確的導航屏幕進行 ...

帶有 FloatingActionButton 組件的 React-Native-Popup-Menu 無法使用 MenuTrigger 觸發

[英]React-Native-Popup-Menu with FloatingActionButton Component cannot trigger with MenuTrigger

我想一起使用react-native-popup-menu和react-native-floating-action-button組件。 我試過了: 此代碼不會觸發 MenuTrigger,因為觸發了 FloatingActionButton 的 onPress。 我也試過這種東西: 這個觸發器與 ...

將 react-native-popup-menu MenuOptions 對齊

[英]Aligning react-native-popup-menu MenuOptions right

我一生都無法弄清楚如何使下拉菜單正確對齊。 我嘗試使用 flex-end 和絕對定位與 right: 0 等一起玩。 我希望在主觸發器黃色框的右側、下方和右側列出菜單選項。 或者至少在粉紅色框的右側對接。 我可以使用marginTop輕松更改高度位置。 ); ...

彈出菜單需要RN 0.55+反應原生錯誤

[英]popup-menu requires RN 0.55+ error in react native

我正在使用庫“react-native-popup-menu。 版本:0.14.0(最新) 當我嘗試運行然后錯誤顯示: 此版本的彈出菜單需要RN 0.55+,但問題是我安裝了最新的庫然后為什么會出錯? 注意:在Package.Json文件中添加了一個庫。 ...

如何計算上下文菜單的位置?

[英]How to calculate position of context menu?

上下文菜單遠低於應有的菜單。 我嘗試使用 但這僅起了很小的作用。 這是屏幕截圖。 任何幫助表示贊賞。 編輯:我現在使用了自定義菜單,如https://github.com/instea/react-native-popup-menu/blob/master/doc/ex ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM