You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following instructions at #10, I created a custom test using prefix r- and breakpoints named mobile, tablet, and desktop.
Now, this first code worked perfectly as expected:
<div>
<div data-r-tablet='Content for tablet and desktop users'></div>
</div>
But the content in the following div was always displayed, despite the fact that I (intended to) explicitly remove the content at the tablet breakpoint:
<div data-r-tablet=''>
Same content but in a different location, for only mobile users
</div>
The text was updated successfully, but these errors were encountered:
@alanhogan I understand exactly what you're trying to do and just made an update that fixes it. Use version 0.6.1 and you should be fine. Thanks for reminding me 'bout that—I'd run into that myself before and had been meaning to fix it. In case you didn't know <div data-r-tablet=""> is effectively equivalent to <div data-r-tablet>
Woo! I was trying to track it down and hadn’t any luck yet. Thank you! 35 minutes from issue filed to version released? That must be a record of some sort…
Following instructions at #10, I created a custom test using prefix
r-
and breakpoints namedmobile
,tablet
, anddesktop
.Now, this first code worked perfectly as expected:
But the content in the following div was always displayed, despite the fact that I (intended to) explicitly remove the content at the tablet breakpoint:
The text was updated successfully, but these errors were encountered: