Comments (9)
I edited and added the screenshot.
I only added this line of code into your RSSelectionMenuController, and it fixed my problem.
self.backgroundView.frame = self.view.bounds
from rsselectionmenu.
@praditkan Could you please add a screenshot, what's the issue?
And probably the code how you're presenting the menu?
from rsselectionmenu.
@praditkan ideally any popup (formSheet) background should cover entire window width (master + detail), not only detail view.
You can take reference from iPad Settings app or alert presented on the iPad.
If we allow the user to select the item from the master view, while any popup is on the screen, then it's a bad UX because the user is expected to take any action in the popup or dismiss it.
from rsselectionmenu.
That is true in a sense of design best practice and preference.
However, your code still allow us to use this way.
Then this is still a defect, isn't it?
It displays off the screen.
I just hope this would make it more robust to use.
I could be wrong sorry.
I'm a new swift developer anyway.
from rsselectionmenu.
Maybe you can present from splitViewController and then check?
menu.show(type: <type here>, from: self.splitViewController)
from rsselectionmenu.
@praditkan Were you able to resolve this?
from rsselectionmenu.
Ah this one work!!!
menu.show(type: <type here>, from: self.splitViewController)
Thank you so much.
from rsselectionmenu.
I found another issue.
The same project I did change self.splitViewController as you advised for those detail view.
It happens again this time within the view that is presented modally.
I tried this but it doesn't work.
menu.show(type: <type here>, from: self.presentingViewController!)
from rsselectionmenu.
@praditkan why did you use from: self.presentingViewController!
here?
I believe it's not the issue in the library. Maybe you can try presenting from another view controller or application window.
Closing this issue for now:)
from rsselectionmenu.
Related Issues (20)
- In Multiselect when user select All then items should also selected HOT 8
- Missing Done button in 6.1.0 HOT 6
- Swift package manager support HOT 3
- How to add shadow like highlight popover view HOT 6
- In multi selection option if we have same name for 2 entries then these names selected when tap on one. HOT 4
- SPM support? HOT 3
- Can we preselect certain options at the very first time? HOT 2
- Popover onDismiss is not working HOT 1
- how can i add serach bar to navigation bar HOT 2
- Modal in Full Screen HOT 3
- Selecting All HOT 5
- Done button in popover HOT 4
- Unable to build RSSelectionMenuExample in Xcode 13 HOT 3
- Selectable sub-list in un-selectable list row HOT 1
- Formsheet & Search - white space on top HOT 1
- Could not cast value of type 'Project.ServicesType' (0x11071c9d0) to 'NSObject' (0x111cecd70). HOT 3
- Change the "All" color HOT 3
- It takes 11+ minutes for FormSelectionMenu to popup... HOT 2
- Any plan to give a Swiftui version? HOT 3
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 rsselectionmenu.