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

Email bulk action doesn't work on iphone #175

Closed
tbar0970 opened this issue Apr 13, 2016 · 3 comments
Closed

Email bulk action doesn't work on iphone #175

tbar0970 opened this issue Apr 13, 2016 · 3 comments

Comments

@tbar0970
Copy link
Owner

To reproduce:

  • Use iphone
  • Navigate to view a group
  • Select some (or all) people from the member list
  • Down the bottom choose "with selected persons... send email"
  • Click Go to proceed with sending email
  • Alert box: "Jethro tried but could not open a popup window... please disable your popup blocker..."

Mobile safari has some rule where window.open must be called from a 'user action' or somesuch..?

@tbar0970
Copy link
Owner Author

Also when you use the direct link "email members", the modal window is too big on mobile and for some reason you can't scroll across to the left edge of the modal content.

@GatesheadBen
Copy link

The "modal window is too big" is because the JS applies to the responsive design whether wide or narrow. I have commented out
// 'margin-left': function () {
// return -($(this).width() / 2);
// }

in jethro-2.18.2.js which makes the modal off centre on wide screens but useable on narrow.

@tbar0970
Copy link
Owner Author

tbar0970 commented Jan 5, 2022

Modal sizing is in jethro.js here:

	$('.modal.autosize').on('shown', function() {
		$(this).css({
			width: 'auto',
			'margin-left': function () {
				return -($(this).width() / 2);
			}
		});
	});

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

No branches or pull requests

2 participants