question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unwanted behaviour of the reference strip

See original GitHub issue

Hi all,

I think I spoted an unwanted behaviour of the reference strip. I am Integrating Openseadragon into an Project Website. Here. I have around 1/3 of the Page to do so. As I have more than one picture to show, I thought, It might by nice to use the reference strip to allow the user to switch through the pictures. The problem is however, that my preview pictures are ridiculously small (see attached picture, those litle whtie dots within the black box are the preview pictures…). I think, it might be connected to the fact, that I use only one third of the page? Is there a possibility to tell the system how big the preview pictures should be?

test This is the written code, I use:

	    var viewer =  $wnd.OpenSeadragon({
	        element: where,
	        showRotationControl: true,
	        showFlipControl: true,
	        sequenceMode:       true,
	        maxZoomLevel: 100,
			prefixUrl: "scripts/openseadragon-bin-2.4.2/images/",
			tileSources: source,
			showReferenceStrip: true,
			referenceStripSizeRatio: 0.5,
			referenceStripHeight:100,
			referenceStripWidth:100
		});
		viewer.addHandler("pre-full-page", function (data) {
				data.preventDefaultAction=true;
				openFullscreen();
		});
		function openFullscreen() {
  			if (where.requestFullscreen) {
    			where.requestFullscreen();
  			} else if (where.mozRequestFullScreen) { 
    			where.mozRequestFullScreen();
  			} else if (where.webkitRequestFullscreen) { 
    			where.webkitRequestFullscreen();
  			} else if (where.msRequestFullscreen) {
    			where.msRequestFullscreen();
  			}
		}

referenceStripHeight and referenceStripWidth do not work in the expected way, as they do only influence the strip and not the dimensions of the preview pictures. They stay very small.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
msalsberycommented, Aug 10, 2020

@iangilman Yes, ReferenceStrip needs love…taking it on next, as I’ve had to dive into it to finish the current MouseTracker/events patch to fix some naughtiness.

Assigning to self…

0reactions
iangilmancommented, Sep 2, 2020

Awesome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Memory strips - TS Parents Online - NJCTS
The memory strip can be a visual cue to give them choices during these moments and preempt the unwanted behavior. Here are some...
Read more >
A Dozen Common Mistakes and What to Do Instead
When a management approach isn't working, our first tendency is to try harder. The problem is that we most often try harder negatively....
Read more >
z-index of k-tabstrip-items-wrapper causes issues #2909
Still, having a window element inside any container, other than the body element, may result in unwanted (but expected) behaviour.
Read more >
Python strip() removing extra (unwanted) character
As per the comments, .strip() takes a list of characters and strips all of them - not a string to strip in particular....
Read more >
Reducing Undesirable Behaviors in the Classroom - Study.com
One of the many uses of psychology in educational settings is related to reducing undesirable behavior in the classroom.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found