Problem/Motivation

When the Responsive Preview block is placed, the buttons are displayed but do not function as expected.

Steps to reproduce

  • Enable the module
  • Place the Responsive Preview block from Block layout
  • Click on buttons/links
  • Attaching the screen recording video for reference

Proposed resolution

The Responsive Preview block was not functioning as expected due to the missing #block-responsivepreviewcontrols ID when the block was placed

Remaining tasks

Add #block-responsivepreviewcontrols Id to make it working as expected.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

roshni upadhyay created an issue. See original summary.

divyansh.gupta’s picture

Assigned: Unassigned » divyansh.gupta

Working on it.

divyansh.gupta’s picture

Assigned: divyansh.gupta » Unassigned
Status: Active » Needs review
StatusFileSize
new8.04 MB

I have made changes in the responsive-preview.js file and the changes are working fine for me, also attached an video of it working.
Please review.

rajeshreeputra made their first commit to this issue’s fork.

kalash-j’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new1.11 MB
new7.3 MB

I have tested the MR!21 and it is working as expected and tab are working fine
moving it to RTBC