Coder Social home page Coder Social logo

browsersync's People

Contributors

doggy8088 avatar madskristensen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

browsersync's Issues

Visual Studio 2022 Support

Installed product versions

  • Visual Studio: 2022 All Versions

Description

Make the extension available in Visual Studio 2022.

Steps to recreate

  1. Download the extension installer.
  2. Run the installer.

Current behavior

Message that it is already installed to all applicable products appears even though it is not installed in Visual Studio 2022.
It is also not listed in Online Extensions in Manage Extensions Visual Studio 2022.

Expected behavior

Installs and works in Visual Studio 2022.

Note: Sorry for the all the extra details. I probably could have stopped with the title on this one.

Sync checkbox groups not working

Consider this markup:

<input type="checkbox" name="check" value="first" />
<input type="checkbox" name="check" value="second" />

The name attribute is the same for both elements. This is typically used for radio button groups, but can be used for checkboxes too. However, the mechanism for setting the right value for checkboxes is different than for radio button groups.

Sync check/radio boxes and dropdowns

Today, only <input type="text">, <textarea> and [contenteditable] elements are supported for synchronization. This should be expanded to include other form field elements

Form input sync doesn't play well with knockout.js bindings

"Typing in input fields is synced across browsers"

In a knockout.js app, the view model isn't updated with the synced form values. This is true for both the value and textInput bindings.

Firing the input.change event causes the view model to be updated. For example, typing the following line into the browser console after the values are synced works:

$("input").change();

Would you consider a way to either support this out of the box, opt-in via configuration or perhaps even add a client-side hook for developers to execute client-side logic after values are synced?

Navigation sync doesn't work

Looks like you have a typo in the function call for sending the navigation sync:

function sendSyncNavigate() {
browserLink.invoke("Navigate", window.pageXOffset, window.pageYOffset);
}
function connectionHandler() {
document.onkeydown = function (e) {
var evt = e || event;
if (evt.altKey && evt.ctrlKey && evt.keyCode === 13) {
evt.preventDefault();
SendSyncNavigate();
}
};

Your function is called sendSyncNavigate but you call SendSyncNavigate (note the capital S on Send).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.