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

Screenshot not moving with table view scroll #14

Open
jacobtimm opened this issue May 15, 2013 · 3 comments
Open

Screenshot not moving with table view scroll #14

jacobtimm opened this issue May 15, 2013 · 3 comments

Comments

@jacobtimm
Copy link

When you show the modal in a table view it works fine if no scrolling has happened yet. If the user scrolls it begins to blur a smaller and smaller portion of the screen.

@timstudt
Copy link

ios simulator screen shot jun 29 2013 12 46 58 pm
I am also trying to show a view (UICollectionView) on top of a table view. More precise it should show over visible part of scroll view. Currently modal view is init with frame origin (0,0).

I changed frame of modal view to:

  • (id)initWithParentView:(UIView_)parentView view:(UIView_)view {
    • if (self = [self initWithFrame:CGRectMake(0, 0, parentView.width, parentView.height)]) {
    • if (self = [self initWithFrame:parentView.bounds]){

This works the modal view is always shown over visible frame of table view. however when i scroll down to the last table cell and show the modal view there, the dismissButton is shown correctly but triggers no action.

from debugger:
(lldb) po _dismissButton
$0 = 0x1bba21c0 <RNCloseButton: 0x1bba21c0; baseClass = UIButton; frame = (4 359.5; 32 32); opaque = NO; layer = <CALayer: 0x1bb74ec0>>
(lldb) po _dismissButton.superview
$1 = 0x1bb448a0 <RNBlurModalView: 0x1bb448a0; frame = (0 357; 320 367); alpha = 0; autoresize = LM+W+TM+H; layer = <CALayer: 0x1bba17a0>>
(lldb)

Any idea how to setup modal view correctly in scroll view?

Fix very much appreciated :)

@brbgyn
Copy link

brbgyn commented Oct 9, 2014

Facing same problem

@brbgyn
Copy link

brbgyn commented Oct 9, 2014

Have you managed to click on the dismissButton successfully, @timstudt or @jacobtimm ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants