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

Pop out a view? #1262

Open
TheMikeyRoss opened this issue Jul 10, 2024 · 5 comments
Open

Pop out a view? #1262

TheMikeyRoss opened this issue Jul 10, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@TheMikeyRoss
Copy link

Is there a way to pop up a device to an external window?

@MdFaizu18
Copy link

MdFaizu18 commented Jul 14, 2024

Yeah To "pop up a device to an external window" , we can achieve this using JavaScript within your React frontend. By Below method

PopButton.jsx

import React from 'react';

const PopupButton = () => {
  const openPopup = () => {
    const url = 'https://example.com'; 
    const windowName = 'newWindow'; 
    const windowFeatures = 'width=800,height=600'; 
    window.open(url, windowName, windowFeatures);
  };

  return (
    <button onClick={openPopup}>
      Open Popup
    </button>
  );
};

export default PopupButton;

@TheMikeyRoss
Copy link
Author

That feels like an AI response.

I mean that in the ResponsivlyApp I have multiple devices views (iPhone, Android, Desktop) and they are all next to each other and I have to scroll around to see each device.

But I want to pop out one of those devices and move that window to a different monitor so I can see them each in a monitor.

@violetadev violetadev added the enhancement New feature or request label Sep 8, 2024
@violetadev
Copy link
Contributor

hi @TheMikeyRoss, we don't have this feature (yet!). I have labeled this issue so anyone can pick it up and add it whenever possible.

@CarlosZBent
Copy link

Hi @violetadev! I would like to work on this enhancement. If this is still open please feel free to assign it to me.

@violetadev
Copy link
Contributor

@CarlosZBent we're not assigning issues anymore, you can just go ahead and prepare the PR. Thanks!

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

No branches or pull requests

4 participants